Bluring lock

This commit is contained in:
2015-09-08 00:36:32 -04:00
parent f2d41da141
commit adebc02f60
2 changed files with 10 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ bindsym XF86AudioNext exec --no-startup-id mpc next
bindsym XF86AudioPrev exec --no-startup-id mpc prev bindsym XF86AudioPrev exec --no-startup-id mpc prev
# lock # lock
bindsym XF86ScreenSaver exec i3lock -c 2e93f4 bindsym XF86ScreenSaver exec --no-startup-id lock -c 2e93f4
# print screen # print screen
bindsym Print exec scrot bindsym Print exec scrot

9
bin/lock Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
IMG=/tmp/lock.png
SCREENSHOT="scrot $IMG"
$SCREENSHOT
convert -scale 10% -scale 1000% $IMG $IMG
i3lock -i $IMG
rm -f $IMG