Just Some Little Fixes

This commit is contained in:
OdiousImp2604
2021-02-05 15:41:33 +00:00
committed by GitHub
parent 0041c76846
commit e2692dd381
21 changed files with 1330 additions and 0 deletions

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