diff options
Diffstat (limited to 'des/i3/lockscreen.sh')
| -rwxr-xr-x | des/i3/lockscreen.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/des/i3/lockscreen.sh b/des/i3/lockscreen.sh new file mode 100755 index 0000000..31e1451 --- /dev/null +++ b/des/i3/lockscreen.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +IMG=/tmp/screen_locked.png +scrot $IMG +mogrify -scale 10% -scale 1000% $IMG +i3lock -i $IMG + +xautolock -time 1 -locker "i3lock -i $IMG" -notify 20 -notifier 'xset dpms force off' & |
