aboutsummaryrefslogtreecommitdiff
path: root/i3blocks/i3date.sh
blob: c393327af0de22d9db26b409d0c7c8163d36cc4e (plain)
1
2
3
4
#!/bin/sh
dayofyear=$(date +%j)
perc=$(echo "scale=1; ($dayofyear*100)/365" | bc)
echo $(date +"%A, %y/%m/%d ($perc%) - %T")