1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-29 15:03:05 +00:00
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