summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/clock
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-07 17:31:42 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-05-07 17:31:42 -0400
commit33e329c8cb44679c37054d1823ef487c2569fcdc (patch)
tree96e6e12e7ac894ba6af70bd5d0d15510113b3aac /.local/bin/statusbar/clock
parentbaad9e0136890d8b894b0b0562466c112c5bcc43 (diff)
downloadeibhear-33e329c8cb44679c37054d1823ef487c2569fcdc.tar.gz
eibhear-33e329c8cb44679c37054d1823ef487c2569fcdc.tar.zst
eibhear-33e329c8cb44679c37054d1823ef487c2569fcdc.zip
statusbar scripts now open when shift-clicked
weather module "fixed" other minor statusbar script tweaks
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')"