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