summaryrefslogtreecommitdiff
path: root/mut/bin/sb-clock
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-10-15 18:55:34 +0000
committerMike Vink <mike1994vink@gmail.com>2023-10-15 18:55:34 +0000
commit0d7bccb081ecdbc5dea7e2988fc9819287800cfa (patch)
tree52d2fb39160eeea691cb51848cd53da00f67166f /mut/bin/sb-clock
parentf7759d3fe51aec9d621ed610b2c76eb2b5103abf (diff)
fix dwmblocks
Diffstat (limited to 'mut/bin/sb-clock')
-rwxr-xr-xmut/bin/sb-clock2
1 files changed, 1 insertions, 1 deletions
diff --git a/mut/bin/sb-clock b/mut/bin/sb-clock
index ba9e43d..7649523 100755
--- a/mut/bin/sb-clock
+++ b/mut/bin/sb-clock
@@ -18,7 +18,7 @@ case "$clock" in
"12") icon="🕛" ;;
esac
-case $BUTTON in
+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 ;;
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\`