summaryrefslogtreecommitdiff
path: root/mut/bin
diff options
context:
space:
mode:
Diffstat (limited to 'mut/bin')
-rwxr-xr-xmut/bin/sb-clock5
1 files changed, 3 insertions, 2 deletions
diff --git a/mut/bin/sb-clock b/mut/bin/sb-clock
index 7649523..c079a58 100755
--- a/mut/bin/sb-clock
+++ b/mut/bin/sb-clock
@@ -19,8 +19,9 @@ case "$clock" in
esac
case $BLOCK_BUTTON in
- 1) notify-send "This Month" "$(cal --color=always | sed "s/..7m/<b><span color=\"cyan\">/;s|..0m|</span></b>|")" && notify-send "Appointments" "$(calcurse -d3)" ;;
- 2) setsid -f "$TERMINAL" -e calcurse ;;
+ 1) notify-send "This Month" "$(cal --color=always | sed "s/..7m/<b><span color=\"cyan\">/;s|..0m|</span></b>|")" && notify-send -t 100000 "$(khal list now 14d -f "{calendar-color} {start-time} {title} {status} {description}
+" | sed "s/..7m/<b><span color=\"cyan\">/;s|..0m|</span></b>|")" ;;
+ 2) setsid -f "$TERMINAL" -e khal interactive ;;
3) notify-send "📅 Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\`
- Middle click opens calcurse if installed" ;;
6) "$TERMINAL" -e "$EDITOR" "$0" ;;