From 8af6d64322782678ada63f738990127069d86795 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Mon, 12 Oct 2015 21:43:31 +0200 Subject: [PATCH] Added weekday --- bspwm/.config/scripts/bar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bspwm/.config/scripts/bar.sh b/bspwm/.config/scripts/bar.sh index 7933dfb..c777f4a 100755 --- a/bspwm/.config/scripts/bar.sh +++ b/bspwm/.config/scripts/bar.sh @@ -107,7 +107,7 @@ batterysymbol() { clock() { while true; do - info=$(date +"%d.%m. %H:%M") + info=$(date +"%d.%m. (%V) %H:%M") #Bad hack: convert to int to remove leading 0s seconds_to_wait=$[ 61 - $(date +"%S" | awk '{print int($0)}') ]; if [ "$seconds_to_wait" -gt 10 ]; then