summaryrefslogtreecommitdiffstats
path: root/.local/bin/lock
diff options
context:
space:
mode:
authorYigit Sever2021-10-29 16:39:29 +0300
committerYigit Sever2021-10-29 16:39:29 +0300
commit51a2e6b2cf163041966f85a5710c724d7181787e (patch)
treebc05db44833c7aa4cc058bcc56ee7555380f52b4 /.local/bin/lock
parent07b437a45cb9a9a5527863890345c213c6fcc8b6 (diff)
downloaddotfiles-51a2e6b2cf163041966f85a5710c724d7181787e.tar.gz
dotfiles-51a2e6b2cf163041966f85a5710c724d7181787e.tar.bz2
dotfiles-51a2e6b2cf163041966f85a5710c724d7181787e.zip
lock: fancy lockscreen
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