summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/clock
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/clock')
-rwxr-xr-x.local/bin/statusbar/clock1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/statusbar/clock b/.local/bin/statusbar/clock
index 2441226..49cdc0b 100755
--- a/.local/bin/statusbar/clock
+++ b/.local/bin/statusbar/clock
@@ -23,6 +23,7 @@ case $BLOCK_BUTTON in
2) setsid "$TERMINAL" -e calcurse -D ~/.config/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\`
- Middle click opens calcurse if installed" ;;
+ 6) "$TERMINAL" -e "$EDITOR" "$0" ;;
esac
printf '%s %s%s\n' "$(date '+%Y %b %d (%a)')" "$icon" "$(date '+%I:%M%p')"