Initial commit for public dots
This commit is contained in:
22
.config/qtile/scripts/exitmenu
Executable file
22
.config/qtile/scripts/exitmenu
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
choice=$(echo -e "shutdown\nrestart\nlogoff\nscreenlock" | dmenu)
|
||||
|
||||
case $choice in
|
||||
|
||||
shutdown)
|
||||
sudo shutdown now
|
||||
;;
|
||||
|
||||
restart)
|
||||
sudo shutdown -r now
|
||||
;;
|
||||
|
||||
logoff)
|
||||
pkill qtile
|
||||
;;
|
||||
|
||||
screenlock)
|
||||
i3lock -c 000000
|
||||
;;
|
||||
|
||||
esac
|
||||
Reference in New Issue
Block a user