From 8d4c8eaaf17bb389f61fdae3332a48bbe7b7240c Mon Sep 17 00:00:00 2001 From: xyz Date: Sat, 9 Oct 2021 18:25:27 -0700 Subject: sxhkdrc vpn --- .config/sxhkd/sxhkdrc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 30e35820..24e88c31 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -36,14 +36,18 @@ alt + ctrl + y alt + w "$BROWSER" +alt + shift + w + mullvad-exclude "$BROWSER" + alt + s shufwall -#alt + v -# if mullvad status | grep -q 'Disconnect'; then mullvad connect -w; else killall qbittorrent; mullvad disconnect -w; fi;\ -# kill -RTMIN+4 "$(cat "$XDG_CACHE_HOME/pidofbar")" +alt + v + if mullvad status | grep -q 'Disconnect'; then mullvad connect -w; else killall qbittorrent; mullvad disconnect -w; fi;\ + kill -RTMIN+4 "$(cat "$XDG_CACHE_HOME/pidofbar")" alt + q + mullvad connect -w;\ qbittorrent # vim: ft=sh -- cgit v1.2.3-70-g09d2