diff options
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/lock | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.local/bin/lock b/.local/bin/lock index d76f636..1bd63ae 100755 --- a/.local/bin/lock +++ b/.local/bin/lock | |||
@@ -1,7 +1,13 @@ | |||
1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
2 | 2 | ||
3 | pkill -u "$USER" -USR1 dunst | 3 | pkill -u "$USER" -USR1 dunst |
4 | sleep 1 | ||
4 | 5 | ||
5 | i3lock -n | 6 | scrot -zo /tmp/screen-lock.png |
7 | |||
8 | mogrify -scale 5% -scale 2000% /tmp/screen-lock.png | ||
9 | mogrify -modulate 100,300 /tmp/screen-lock.png | ||
10 | |||
11 | i3lock -n -i /tmp/screen-lock.png | ||
6 | 12 | ||
7 | pkill -u "$USER" -USR2 dunst | 13 | pkill -u "$USER" -USR2 dunst |