hersbtluftwm: move exitmenu outside of qtile
This commit is contained in:
23
.config/scripts/util/exitmenu
Executable file
23
.config/scripts/util/exitmenu
Executable file
@ -0,0 +1,23 @@
|
||||
#!/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