diff options
author | Yigit Sever | 2021-12-03 22:40:48 +0300 |
---|---|---|
committer | Yigit Sever | 2021-12-03 22:40:48 +0300 |
commit | 97911dc0ad99f027738be92486eddad7229b5189 (patch) | |
tree | 83d5472e74916b461faf68925dc86fc8b63a2272 | |
parent | df65b5212cdd64e4eadd62cb457fe5dfc71a04fe (diff) | |
download | dotfiles-97911dc0ad99f027738be92486eddad7229b5189.tar.gz dotfiles-97911dc0ad99f027738be92486eddad7229b5189.tar.bz2 dotfiles-97911dc0ad99f027738be92486eddad7229b5189.zip |
lock: fix maybe?
-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 |