fixed symbols

This commit is contained in:
Maximilian Wagner
2023-12-11 20:05:37 +01:00
commit dda18507a9
6 changed files with 468 additions and 0 deletions

16
scripts/power-menu.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
entries="Logout Suspend Reboot Shutdown"
selected=$(printf '%s\n' $entries | wofi --conf=$HOME/.config/wofi/config.power --style=$HOME/.config/wofi/style.widgets.css | awk '{print tolower($1)}')
case $selected in
logout)
swaymsg exit;;
suspend)
exec systemctl suspend;;
reboot)
exec systemctl reboot;;
shutdown)
exec systemctl poweroff -i;;
esac