use wallpaper as lockscreen

master
lub 3 years ago
parent 8f8a32833b
commit 9c8d7472d9

@ -1,6 +0,0 @@
#!/bin/bash
set -e
grim - | convert - -scale 50% -blur 0x20 -fill black -colorize 50% /tmp/lockscreen.png
swaylock -i /tmp/lockscreen.png
rm /tmp/lockscreen.png

@ -231,8 +231,8 @@ smart_gaps on
gaps inner 2
default_border pixel 4
bindsym $mod+ctrl+shift+l exec 'lockscreen'
exec swayidle -w before-sleep 'lockscreen'
bindsym $mod+ctrl+shift+l exec 'swaylock -i ~/.wallpaper'
exec swayidle -w before-sleep 'swaylock -i ~/.wallpaper'
#autostart
exec 'swaylock -i ~/.wallpaper'

Loading…
Cancel
Save