1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Open a year calendar when clicking on the clock

This commit is contained in:
Joe Groocock 2016-05-01 14:10:06 +01:00
parent bd8a5b84bd
commit b91c3d6564

View File

@ -1,5 +1,5 @@
case $BLOCK_BUTTON in case $BLOCK_BUTTON in
1) printf " "$(date '+%d/%m/%y') ; exit ;; 1) printf " "$(date '+%d/%m/%y') ; exit ;;
2|3) i3-sensible-terminal -e "$SHELL -c 'cal -y $(date +'%Y')';$SHELL" &;;
*) printf " "$(date '+%H:%M')
esac esac
printf " "$(date '+%H:%M')