diff options
| author | Blake Romero <blake@developercraft.com> | 2025-10-29 15:37:07 +0000 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2025-10-29 15:37:07 +0000 |
| commit | bc2c3984bdecb81afa14d24e6028bf146c3d5f8e (patch) | |
| tree | 0dc92cabd64cc493695376f03dfadf6d89d5a14a /modules.jsonc | |
| parent | 41ebde714cf8c0169115f3d9b3732bcc2b4bbce6 (diff) | |
Add calendar actions
Diffstat (limited to 'modules.jsonc')
| -rw-r--r-- | modules.jsonc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules.jsonc b/modules.jsonc index 1d2b3b6..aef68b7 100644 --- a/modules.jsonc +++ b/modules.jsonc @@ -42,8 +42,10 @@ "clock#calendar": { "format": "{:%a %d %b} ", - "format-alt": "{:%Y-%m-%d} ", + /*"format-alt": "{:%Y-%m-%d} ",*/ "tooltip-format": "<span background='#000'>{calendar}</span>", + "locale": "en_GB.UTF-8", + "on-click": "pkill calcurse || foot -Tcalendar calcurse", "calendar": { "mode": "month", "mode-mon-col": 3, @@ -58,7 +60,10 @@ } }, "actions": { - "on-click": "mode" + "on-click-middle": "mode", + "on-click-right": "shift_reset", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" } }, |
