summaryrefslogtreecommitdiffstats
path: root/.local/bin/lock
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/lock')
-rwxr-xr-x.local/bin/lock8
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
3pkill -u "$USER" -USR1 dunst 3pkill -u "$USER" -USR1 dunst
4sleep 1
4 5
5i3lock -n 6scrot -zo /tmp/screen-lock.png
7
8mogrify -scale 5% -scale 2000% /tmp/screen-lock.png
9mogrify -modulate 100,300 /tmp/screen-lock.png
10
11i3lock -n -i /tmp/screen-lock.png
6 12
7pkill -u "$USER" -USR2 dunst 13pkill -u "$USER" -USR2 dunst