From 278311cc16be7b3857634ec8c76b28442d4f31e9 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Mon, 3 Feb 2020 13:14:07 +0300 Subject: vpn script improvements --- dotfiles/.local/bin/swaysession | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dotfiles/.local/bin/swaysession') 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 ;; *) -- cgit v1.2.3