diff options
author | Yigit Sever | 2021-10-18 18:12:20 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-18 18:12:37 +0300 |
commit | 97fdacb78fbf8b880452090389e02cc5729d3463 (patch) | |
tree | e6858db642c8660b4f5edac7374cf8506b898ac3 /.local/bin/lock | |
parent | 34a011c4614b0da953c2f628a1dc10959d99cee7 (diff) | |
download | dotfiles-97fdacb78fbf8b880452090389e02cc5729d3463.tar.gz dotfiles-97fdacb78fbf8b880452090389e02cc5729d3463.tar.bz2 dotfiles-97fdacb78fbf8b880452090389e02cc5729d3463.zip |
power.sh: use better lock script
Diffstat (limited to '.local/bin/lock')
-rwxr-xr-x | .local/bin/lock | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/lock b/.local/bin/lock new file mode 100755 index 0000000..d76f636 --- /dev/null +++ b/.local/bin/lock | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | |||
3 | pkill -u "$USER" -USR1 dunst | ||
4 | |||
5 | i3lock -n | ||
6 | |||
7 | pkill -u "$USER" -USR2 dunst | ||