First commit adding linux exclusive scripts

This commit is contained in:
Fabian Schmidt
2020-07-25 19:22:54 +02:00
parent 09d839d92a
commit e9519cd5b4
4 changed files with 1702 additions and 0 deletions

20
dmenu_quit Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
test=$(echo -e "Shutdown\nLogout\nSuspend\nReboot\nCancel" | dmenu -i -p "$1")
case "$test" in
Shutdown)
poweroff
;;
Logout)
#herbstclient quit
killall xinit
;;
Suspend)
systemctl suspend
;;
Reboot)
reboot
;;
esac