From 902e9a96aa3ef853139c5af402d2f5bd83b96a38 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Tue, 16 Jan 2024 21:04:32 +0100 Subject: sync calendars --- mut/bin/sb-clock | 5 +++-- mut/neovim/init.lua | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'mut') 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//;s|..0m||")" && notify-send "Appointments" "$(calcurse -d3)" ;; - 2) setsid -f "$TERMINAL" -e calcurse ;; + 1) notify-send "This Month" "$(cal --color=always | sed "s/..7m//;s|..0m||")" && notify-send -t 100000 "$(khal list now 14d -f "{calendar-color} {start-time} {title} {status} {description} +" | sed "s/..7m//;s|..0m||")" ;; + 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" ;; diff --git a/mut/neovim/init.lua b/mut/neovim/init.lua index aaa1260..bf643df 100644 --- a/mut/neovim/init.lua +++ b/mut/neovim/init.lua @@ -1 +1 @@ -return require("conf") +return require("conf") \ No newline at end of file -- cgit v1.2.3