aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-02-21 22:02:19 +0530
committerVidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com>2021-02-21 22:02:19 +0530
commitae46f76de5d2f52993807c64a26e8aa4b84a4685 (patch)
tree9ffb30b415a47dc287111a26e3edf9729d032c4f /scripts
parent9a5b5a97a795fac3a2ee637080d15a12d250c99f (diff)
copied Luke Smith's script to update the bar
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/updatebar2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/updatebar b/scripts/updatebar
new file mode 100755
index 00000000..93033ffc
--- /dev/null
+++ b/scripts/updatebar
@@ -0,0 +1,2 @@
+#!/bin/bash
+kill "$(pstree -lp | grep -- -baraction | sed "s/.*sleep(\([0-9]\+\)).*/\1/")"