Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Power group for wayland/hyprland #2

Description

@sebvallee

"group/power": {
"orientation": "inherit",
"drawer": {
"transition-duration": 500,
"children-class": "not-power",
"transition-left-to-right": false
},
"modules": [
"custom/power", // First element is the "group leader" and won't ever be hidden
"custom/logout",
"custom/lock",
"custom/reboot"
]
},
"custom/logout": {
"format": "󰗼",
"tooltip": false,
"on-click": "zenity --question --title "Logout" --text "Voulez-vous quitter la session ?" && hyprctl dispatch exit"
},
"custom/lock": {
"format": "󰍁",
"tooltip": false,
"on-click": "swaylock"
},
"custom/reboot": {
"format": "󰜉",
"tooltip": false,
"on-click": "zenity --question --title "Reboot" --text "Voulez-vous reboot ?" && reboot"
},
"custom/power": {
"format": "",
"tooltip": false,
"on-click": "zenity --question --title "Poweroff" --text "Voulez-vous éteindre le PC ?" && shutdown now"
},

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions