From 97911dc0ad99f027738be92486eddad7229b5189 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 3 Dec 2021 22:40:48 +0300 Subject: lock: fix maybe? --- .local/bin/lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/lock') 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 @@ #!/usr/bin/env bash -pkill -u "$USER" -USR1 dunst +killall -SIGUSR1 dunst sleep 1 scrot -zo /tmp/screen-lock.png @@ -10,4 +10,4 @@ mogrify -modulate 100,300 /tmp/screen-lock.png i3lock -n -i /tmp/screen-lock.png -pkill -u "$USER" -USR2 dunst +killall -SIGUSR2 dunst -- cgit v1.2.3-70-g09d2