summaryrefslogtreecommitdiff
path: root/.config/sxhkd/sxhkdrc
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-06 15:10:32 -0700
committerxyz <gky44px1999@gmail.com>2021-10-06 15:10:32 -0700
commit824e737927ac17c06883a9ce9c587e23841b0c03 (patch)
tree095d802170af983f9dcbb8be18c16f74938b767b /.config/sxhkd/sxhkdrc
parent10597d35e5dd2b2e6f462406f72578d9f09c1ed8 (diff)
sbar and sxhkdrc add mullvad vpn features
Diffstat (limited to '.config/sxhkd/sxhkdrc')
-rw-r--r--.config/sxhkd/sxhkdrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
index b9f3afc2..7a84e149 100644
--- a/.config/sxhkd/sxhkdrc
+++ b/.config/sxhkd/sxhkdrc
@@ -34,9 +34,16 @@ alt + ctrl + y
tsp mpvy -A -u "$(xsel -ob)"
alt + w
- firefox
+ "$BROWSER"
+
+alt + W
+ mullvad-exclude o "$BROWSER"
alt + s
shufwall
+alt + v
+ if mullvad status | grep -q 'Disconnect'; then mullvad connect -w; else mullvad disconnect -w; fi;\
+ kill -RTMIN+4 "$(cat "$XDG_CACHE_HOME/pidofbar")"
+
# vim: ft=sh