config/i3/i3blocks/blocks/date
2019-11-07 09:55:58 +01:00

13 lines
186 B
Bash
Executable File

#!/usr/bin/env bash
FORMAT=+%Y.%m.%d\ %H:%M
date "$FORMAT"
case $BLOCK_BUTTON in
1) gsimplecal ;; # left click?
3) ;; # right click
4) ;; # scroll up
5) ;; # scroll down
esac