Added scripts

This commit is contained in:
2023-07-27 03:37:48 +02:00
parent f4a48af033
commit 26b2987639
5 changed files with 49 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
SELECTION=$(echo "cancel
logout
reboot
shutdown
suspend" | eval "dmenu $DMENU_COLORS")
case $SELECTION in
shutdown )
sudo systemctl suspend ;; # systemctl hibernate ;;
reboot )
sudo systemctl reboot ;;
suspend )
sudo systemctl suspend ;;
logout )
swaymsg exit ;;
esac