diff options
author | xyz <gky44px1999@gmail.com> | 2021-04-11 02:43:48 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-04-11 02:43:48 -0700 |
commit | 0795297c929cf80408a74c1889ace7d412d055fd (patch) | |
tree | 5babbc0cd9e4b26b01870efb704b626005864f1d /programs/my_scripts | |
parent | 479f2fc253ffb7fcf43aa2edb9022e316723d245 (diff) |
debug startx, set dwm status bar
Diffstat (limited to 'programs/my_scripts')
-rwxr-xr-x | programs/my_scripts/set_dwm_status_bar.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/programs/my_scripts/set_dwm_status_bar.sh b/programs/my_scripts/set_dwm_status_bar.sh new file mode 100755 index 00000000..0fc801db --- /dev/null +++ b/programs/my_scripts/set_dwm_status_bar.sh @@ -0,0 +1,4 @@ +while true; do + xsetroot -name "$(date "+%H:%M:%S %m/%d/%Y") | $(cat /sys/class/power_supply/BAT1/capacity)%" + sleep 1 +done |