diff options
-rw-r--r-- | .xinitrc | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,10 +1,13 @@ -picom --config /dev/null -bfD3 --xrender-sync-fence -~/.fehbg +statusbar() { + acpi -b | awk '{print $4}' | sed 's/,//;/100/d' + date '+%F %R' +} -while true -do - xsetroot -name "$(date "+%F %R")" +while true; do + xsetroot -name "$(statusbar | sed -z 's/\n/ | /g;s/ *$//')" sleep 1m done & +picom --config /dev/null -bfD3 --xrender-sync-fence +~/.fehbg exec dwm |