herbstluft - add the day of the week to the date

This commit is contained in:
Felix Van der Jeugt 2015-01-20 20:48:24 +01:00
parent f9a5829dfb
commit 603310802e

View File

@ -68,7 +68,7 @@ hc pad $monitor $panel_height
while true ; do while true ; do
# "date" output is checked once a second, but an event is only # "date" output is checked once a second, but an event is only
# generated if the output changed compared to the previous run. # generated if the output changed compared to the previous run.
date +$'date\t^fg(#efefef)%H:%M^fg(#909090), %Y-%m-^fg(#efefef)%d' date +$'date\t^fg(#efefef)%H:%M^fg(#909090), ^fg(#efefef)%a %Y-%m-^fg(#efefef)%d'
sleep 1 || break sleep 1 || break
done > >(uniq_linebuffered) & done > >(uniq_linebuffered) &
timeloop=$! timeloop=$!