diff --git a/botfiles/.scripts/lockscreen b/botfiles/.scripts/lockscreen index f757358..2b8dabd 100755 --- a/botfiles/.scripts/lockscreen +++ b/botfiles/.scripts/lockscreen @@ -2,4 +2,4 @@ RESOL=$(xrandr | grep '*' | grep -o '?*[0-9]*x?*[0-9]*') -i3lock -i ~/.config/wallpapers/$RESOL/wall$(( ( RANDOM % $(ls ~/.config/wallpapers/$RESOL | wc -l) +1 ) )).png --composite --insidecolor=55443311 --ringcolor=99443300 --insidevercolor=55443311 --keyhlcolor=99999999 --indicator --veriftext= --wrongtext=! --radius 180 -b --separatorcolor=00000000 -k --timesize=50 --datesize=20 --time-font=Inconsolata --date-font=Inconsolata --bar-indicator +i3lock -i ~/.config/wallpapers/$RESOL/wall$(( ( RANDOM % $(ls ~/.config/wallpapers/$RESOL | wc -l) +1 ) )).png --composite --insidecolor=55443311 --ringcolor=99443300 --insidevercolor=55443311 --keyhlcolor=99999999 --indicator --veriftext= --wrongtext=! --radius 180 -b --separatorcolor=00000000 --bar-indicator diff --git a/botfiles/.scripts/powermenu b/botfiles/.scripts/powermenu index 14dd5b1..126a098 100755 --- a/botfiles/.scripts/powermenu +++ b/botfiles/.scripts/powermenu @@ -5,7 +5,7 @@ if [ -z "$WHAT" ]; then exit; fi case "$WHAT" in Shutdown) systemctl poweroff;; - Suspend) systemctl suspend;; + Suspend) sh ~/.scripts/lockscreen; systemctl suspend;; Lock) sh ~/.scripts/lockscreen;; - *) systemctl reboot + Reboot) systemctl reboot esac