diff --git a/config/dwmbar/bar.sh b/config/dwmbar/bar.sh index 1fa71785..443b21ae 100755 --- a/config/dwmbar/bar.sh +++ b/config/dwmbar/bar.sh @@ -20,7 +20,12 @@ audio() { fi } +clock() { + printf "^c$black^ ^b$darkblue^ " + printf "^c$black^^b$blue^ $(date '+%H:%M') " +} + while true; do - xsetroot -name " $(audio) $(battery) " + xsetroot -name " $(clock) $(audio) $(battery) " sleep 1 done