From 51a2e6b2cf163041966f85a5710c724d7181787e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 16:39:29 +0300 Subject: lock: fancy lockscreen --- .local/bin/lock | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.local/bin') 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 @@ #!/usr/bin/env bash pkill -u "$USER" -USR1 dunst +sleep 1 -i3lock -n +scrot -zo /tmp/screen-lock.png + +mogrify -scale 5% -scale 2000% /tmp/screen-lock.png +mogrify -modulate 100,300 /tmp/screen-lock.png + +i3lock -n -i /tmp/screen-lock.png pkill -u "$USER" -USR2 dunst -- cgit v1.2.3-70-g09d2