summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/sbar
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-01-10 17:33:45 -0800
committerxyz <gky44px1999@gmail.com>2022-01-10 17:33:45 -0800
commit5d70f0c9a0a8db053d3ffe9ae579e7fd45e94423 (patch)
tree4d7f7db600d16e68be3b29892a840ef3d036415c /home/xyz/.local/bin/sbar
parent719e6893f14e79428969f6cb27420f2150b3669c (diff)
refactor
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")"