Initial commit for public dots

This commit is contained in:
2023-07-08 15:20:41 +03:00
commit 2c53e85568
74 changed files with 5096 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#!/bin/bash
dmenu="dmenu -p exit"
choice=$(echo -e "shutdown\nrestart\nlogoff\nscreenlock" | $dmenu)
case $choice in
shutdown)
sudo halt
;;
restart)
sudo shutdown -r now
;;
logoff)
herbstclient quit
;;
screenlock)
i3lock -c 000000
;;
esac