summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/dwmbar6
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/dwmbar b/.local/bin/dwmbar
new file mode 100755
index 0000000..e5a2ffb
--- /dev/null
+++ b/.local/bin/dwmbar
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+while :; do
+ xsetroot -name "$(sed 's/^/🔋:/' /sys/class/power_supply/BAT?/capacity 2>/dev/null | tr '\n' ' ') $(date '+%Y %b %d (%a) %I:%M%p')"
+ sleep 30
+done