diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-02-03 13:14:07 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-02-03 13:14:07 +0300 |
commit | 278311cc16be7b3857634ec8c76b28442d4f31e9 (patch) | |
tree | 8469733b80b9439c788c994565d01b05fdef25a6 /dotfiles/.local/bin/swaysession | |
parent | e5532752993f463524e0c89d5e82b5a84a77759b (diff) | |
download | swayrice-278311cc16be7b3857634ec8c76b28442d4f31e9.tar.gz swayrice-278311cc16be7b3857634ec8c76b28442d4f31e9.zip |
vpn script improvements
Diffstat (limited to 'dotfiles/.local/bin/swaysession')
-rwxr-xr-x | dotfiles/.local/bin/swaysession | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/swaysession b/dotfiles/.local/bin/swaysession index 0507368..c4fa4db 100755 --- a/dotfiles/.local/bin/swaysession +++ b/dotfiles/.local/bin/swaysession @@ -21,9 +21,11 @@ case "$1" in lock-color & sleep 1 && $logind hibernate ;; reboot) + rm -f ~/.cache/openvpnpid $logind reboot ;; poweroff) + rm -f ~/.cache/openvpnpid $logind poweroff ;; *) |