From 1dd90a8e2d6e23f7ad53aad941af6ce98ab2ee2c Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Tue, 1 Jan 2019 23:39:39 +0100 Subject: i3date doesn't show percentage. --- i3blocks/i3date.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i3blocks/i3date.sh b/i3blocks/i3date.sh index 91af3ac..d9ea3c8 100755 --- a/i3blocks/i3date.sh +++ b/i3blocks/i3date.sh @@ -6,7 +6,7 @@ case $BLOCK_BUTTON in 3) ~/scripts/floats/floatYears.sh ;; esac -dayofyear=$(date +%j) -perc=$(echo "scale=1; ($dayofyear*100)/365" | bc) +#dayofyear=$(date +%j) +#perc=$(echo "scale=1; ($dayofyear*100)/365" | bc) #echo $(date +"%A, %y/%m/%d ($perc%) - %T") -echo $(date +"%y/%m/%d ($perc%) - %H:%M") +echo $(date +"%y/%m/%d - %H:%M") -- cgit v1.2.1