summaryrefslogtreecommitdiff
path: root/mut
diff options
context:
space:
mode:
Diffstat (limited to 'mut')
-rwxr-xr-xmut/bin/sb-clock5
-rw-r--r--mut/neovim/init.lua2
2 files changed, 4 insertions, 3 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" ;;
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