Convert power menu into a rofi selection screen

This commit is contained in:
2021-07-03 17:37:55 +02:00
parent 9ddf5bc34e
commit a7d9da8dda
2 changed files with 22 additions and 11 deletions

View File

@@ -286,17 +286,7 @@ bindsym $mod+p exec ~/.local/share/scripts/popup-window
# tmuxp session menu
bindsym $mod+Shift+s exec ~/.local/share/scripts/tmuxp-session
# power menu
bindsym $mod+Shift+p mode "$Pause-break"
set $Pause-break (p) poweroff, (r) reboot
mode "$Pause-break" {
bindsym s exec --no-startup-id ~/.local/share/scripts/power-manager "poweroff", mode "default"
bindsym r exec --no-startup-id ~/.local/share/scripts/power-manager "reboot", mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+p exec ~/.local/share/scripts/power-menu
# theme switcher menu
bindsym $mod+Shift+t mode "$Theme-switch"