diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-01-01 23:39:39 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-01-01 23:39:39 +0100 |
commit | 1dd90a8e2d6e23f7ad53aad941af6ce98ab2ee2c (patch) | |
tree | bb34c6ec85308df8ad6b0a77a7446a4ca857658e /i3blocks | |
parent | 2067246bb76169a190e3be6b33ca66624069051b (diff) | |
download | scripts-1dd90a8e2d6e23f7ad53aad941af6ce98ab2ee2c.tar.gz scripts-1dd90a8e2d6e23f7ad53aad941af6ce98ab2ee2c.zip |
i3date doesn't show percentage.
Diffstat (limited to 'i3blocks')
-rwxr-xr-x | i3blocks/i3date.sh | 6 |
1 files 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") |