etc/swaylock.sh

10 lines
135 B
Bash
Raw Normal View History

2019-03-09 19:37:53 +00:00
#!/bin/sh
bg_img=~/Desktop/background.png
if [ -f $bg_img ]; then
exec swaylock -f -i $bg_img
else
exec swaylock -f -c 777777
fi