summaryrefslogtreecommitdiffstats
path: root/.local/bin/refbar
diff options
context:
space:
mode:
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/")"