dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit b3c6b0bbf38c305701c9f1e3c27667eb169ccf71
parent 84ab07122de981977983ab14d33eaa6551810adc
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  2 Jan 2019 15:07:03 +0100

Show calcurse appointments when left clicking clock

Diffstat:
Mlinks/.config/i3/i3scripts/i3date | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/links/.config/i3/i3scripts/i3date b/links/.config/i3/i3scripts/i3date @@ -1,7 +1,10 @@ #!/bin/sh case $BLOCK_BUTTON in - 1) pgrep -x dunst >/dev/null && notify-send "$(cal -3 --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..27m/<\/span><\/b>/")" ;; + 1) pgrep -x dunst >/dev/null \ + && notify-send "$(cal -3 --color=always \ + | sed "s/..7m/<b><span color=\"red\">/;s/..27m/<\/span><\/b>/")" \ + && notify-send "$(calcurse -d3)" ;; 2) st -e calcurse ;; 3) pgrep -x dunst >/dev/null && notify-send "<b>📅 Time/date module:</b> - Left click to show month via \`cal\`