summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/sbar
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.local/bin/sbar')
-rwxr-xr-xhome/xyz/.local/bin/sbar1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/xyz/.local/bin/sbar b/home/xyz/.local/bin/sbar
index 5cab9ffa..7b383c41 100755
--- a/home/xyz/.local/bin/sbar
+++ b/home/xyz/.local/bin/sbar
@@ -81,6 +81,7 @@ trap "update_vpn;display" "RTMIN+4"
# `mullvad status` write logs everytime it is called
# so I use `mullvad status listen`, this implementation is kinda bloat, maybe there's better way
+# should be put after trap?
sh -c '
mullvad status listen | while read -r line; do
kill -RTMIN+4 "$(cat "$XDG_CACHE_HOME/pidofbar")"