diff options
Diffstat (limited to 'scripts/bin')
| -rwxr-xr-x | scripts/bin/lock | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bin/lock b/scripts/bin/lock index f73b3de..863f878 100755 --- a/scripts/bin/lock +++ b/scripts/bin/lock | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | #!/bin/sh -e | 1 | #!/bin/sh -e |
| 2 | 2 | ||
| 3 | # Take a screenshot | 3 | # Take a screenshot |
| 4 | scrot -o /tmp/screen_locked.png | 4 | #scrot -o /tmp/screen_locked.png |
| 5 | # Pixellate it 10x | 5 | # Pixellate it 10x |
| 6 | mogrify -scale 10% -scale 1000% /tmp/screen_locked.png | 6 | #mogrify -scale 10% -scale 1000% /tmp/screen_locked.png |
| 7 | # Lock screen displaying this image. | 7 | # Lock screen displaying this image. |
| 8 | i3lock -i /tmp/screen_locked.png | 8 | i3lock# -i /tmp/screen_locked.png |
| 9 | # Turn the screen off after a delay. | 9 | # Turn the screen off after a delay. |
| 10 | sleep 60 | 10 | sleep 60 |
| 11 | # if i3lock is still running | 11 | # if i3lock is still running |