hersbtluftwm: move exitmenu outside of qtile
This commit is contained in:
@ -49,7 +49,7 @@ screen_locker="i3lock -c 000000"
|
||||
hc keybind "$M-w" close_and_remove
|
||||
hc keybind "$M-e" close
|
||||
hc keybind "$M-t" reload
|
||||
hc keybind "$M-q" spawn sh $scripts/exitmenu
|
||||
hc keybind "$M-q" spawn exitmenu
|
||||
|
||||
# focus
|
||||
hc keybind "$M-h" focus left
|
||||
|
||||
@ -1,23 +0,0 @@
|
||||
#!/bin/bash
|
||||
menu="rofi -dmenu"
|
||||
choice=$(echo -e "shutdown\nrestart\nlogoff\nscreenlock" | $menu)
|
||||
|
||||
case $choice in
|
||||
|
||||
shutdown)
|
||||
sudo shutdown now
|
||||
;;
|
||||
|
||||
restart)
|
||||
sudo shutdown -r now
|
||||
;;
|
||||
|
||||
logoff)
|
||||
herbstclient quit
|
||||
;;
|
||||
|
||||
screenlock)
|
||||
i3lock -c 000000
|
||||
;;
|
||||
|
||||
esac
|
||||
Reference in New Issue
Block a user