blob: 91af3ac31cd6655f9dea227203c81417b8e83463 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
case $BLOCK_BUTTON in
1) ~/scripts/floats/floatMonths.sh ;;
2) notify-send -h string:x-canonical-private-synchronous:date -t 1000 "$(echo "scale=1; ($(date +%j)*100)/365" | bc)%" ;;
3) ~/scripts/floats/floatYears.sh ;;
esac
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")
|