diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-05-18 21:19:17 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-05-18 21:19:17 -0400 |
| commit | bf8c6b1e20f42a7725d8d919830fdb274596b20f (patch) | |
| tree | 350cace6557796da593b5783eb4107ed0ca4bb49 /.local/bin | |
| parent | e2a66c3830716e88e68d715504b5c7e5ff12bb1a (diff) | |
| download | eibhear-bf8c6b1e20f42a7725d8d919830fdb274596b20f.tar.gz eibhear-bf8c6b1e20f42a7725d8d919830fdb274596b20f.tar.zst eibhear-bf8c6b1e20f42a7725d8d919830fdb274596b20f.zip | |
dwmbar added to xinitrc
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/dwmbar | 6 |
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 |
