add lockscreen command and bindsyms
parent
faf1093469
commit
e3721bc932
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
grim - | convert - -scale 50% -blur 0x20 -fill black -colorize 50% /tmp/lockscreen.png
|
||||||
|
swaylock -i /tmp/lockscreen.png &
|
||||||
|
|
||||||
|
if [ 'suspend' = "$1" ]; then
|
||||||
|
systemctl suspend
|
||||||
|
fi
|
Loading…
Reference in New Issue