summaryrefslogtreecommitdiffstats
path: root/.local/bin/refbar
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-05-23 22:55:26 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-05-23 22:55:26 -0400
commita84a8215c2c54121b81b05cf4a2123ae177b01c1 (patch)
treef8b7d973c01ecfad10016146227188114ee95939 /.local/bin/refbar
parent2791a5b5946b8cb041c1112a436fda0c944adfa2 (diff)
downloadeibhear-a84a8215c2c54121b81b05cf4a2123ae177b01c1.tar.gz
eibhear-a84a8215c2c54121b81b05cf4a2123ae177b01c1.tar.zst
eibhear-a84a8215c2c54121b81b05cf4a2123ae177b01c1.zip
improved bar/ refbarr, audio binds
Diffstat (limited to '.local/bin/refbar')
-rwxr-xr-x.local/bin/refbar6
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/refbar b/.local/bin/refbar
new file mode 100755
index 0000000..671c450
--- /dev/null
+++ b/.local/bin/refbar
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Refresh the dwmbar.
+# Right now, now this is done is by killing the sleep in the bar script.
+
+kill "$(pstree -lp | grep -- -dwmbar\([0-9] | sed "s/.*sleep(\([0-9]\+\)).*/\1/")"