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

6 lines
193 B
Plaintext
Raw Normal View History

2016-03-31 02:06:44 +00:00
case $BLOCK_BUTTON in
1) printf " "$(date '+%d/%m/%y') ; exit ;;
2|3) i3-sensible-terminal -e "$SHELL -c 'cal -y $(date +'%Y')';$SHELL" &;;
*) printf " "$(date '+%H:%M')
2016-03-31 02:06:44 +00:00
esac