Edit lockscreen and add locking screen after suspend
This commit is contained in:
parent
12aa80d521
commit
59a4d8638d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user