blob: a54a135856546020ee62a7be22f5a27df29e043a (
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 %H:%M")
|