MOAR config

This commit is contained in:
Maximilian Friedersdorff 2025-04-23 22:44:41 +01:00
parent 1b65bc2270
commit d8c2da70a9
7 changed files with 61 additions and 41 deletions

View file

@ -0,0 +1,23 @@
#!/bin/bash
entries="⇠ Logout\n⏾ Suspend\n⭮ Reboot\n⏻ Shutdown\n Lock"
selected=$(echo -e $entries | wofi --dmenu --cache-file /dev/null | awk '{print tolower($2)}')
case $selected in
lock)
swaylock
;;
logout)
swaymsg exit
;;
suspend)
exec systemctl suspend
;;
reboot)
exec systemctl reboot
;;
shutdown)
exec systemctl poweroff -i
;;
esac