aboutsummaryrefslogtreecommitdiff
path: root/i3blocks
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-01-01 23:39:39 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-01-01 23:39:39 +0100
commit1dd90a8e2d6e23f7ad53aad941af6ce98ab2ee2c (patch)
treebb34c6ec85308df8ad6b0a77a7446a4ca857658e /i3blocks
parent2067246bb76169a190e3be6b33ca66624069051b (diff)
downloadscripts-1dd90a8e2d6e23f7ad53aad941af6ce98ab2ee2c.tar.gz
scripts-1dd90a8e2d6e23f7ad53aad941af6ce98ab2ee2c.zip
i3date doesn't show percentage.
Diffstat (limited to 'i3blocks')
-rwxr-xr-xi3blocks/i3date.sh6
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")