diff options
| author | Adrian Kummerlaender | 2026-02-14 11:27:58 +0100 |
|---|---|---|
| committer | Adrian Kummerlaender | 2026-02-14 11:27:58 +0100 |
| commit | 8a3625c815806e081d002f319797c622cd893b49 (patch) | |
| tree | 4db6ec7d9c8c2bd41ab67f356f826137482f4918 /gui/conf | |
| parent | dc25ba831fca0d009377884478b5d9cbdce01412 (diff) | |
| download | nixos_home-8a3625c815806e081d002f319797c622cd893b49.tar nixos_home-8a3625c815806e081d002f319797c622cd893b49.tar.gz nixos_home-8a3625c815806e081d002f319797c622cd893b49.tar.bz2 nixos_home-8a3625c815806e081d002f319797c622cd893b49.tar.lz nixos_home-8a3625c815806e081d002f319797c622cd893b49.tar.xz nixos_home-8a3625c815806e081d002f319797c622cd893b49.tar.zst nixos_home-8a3625c815806e081d002f319797c622cd893b49.zip | |
emacs/niri: Expand daily agenda
Diffstat (limited to 'gui/conf')
| -rw-r--r-- | gui/conf/init.el | 23 | ||||
| -rw-r--r-- | gui/conf/niri.kdl | 2 |
2 files changed, 24 insertions, 1 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el index 6e32cf8..7c3c242 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -204,6 +204,11 @@ (org-icalendar-use-deadline '(event-if-not-todo event-if-todo)) (org-icalendar-use-scheduled '(event-if-not-todo event-if-todo)) (org-agenda-skip-deadline-prewarning-if-scheduled t) + (org-agenda-prefix-format '((agenda . " %i %-12:c%?-12t% s %b") + (todo . " %i %-12:c %b") + (tags . " %i %-12:c %b") + (search . " %i %-12:c %b"))) + (org-agenda-breadcrumbs-separator " ❯ ") :init (require 'org-protocol) (require 'ox-bibtex) @@ -286,7 +291,23 @@ ("a" "Daily Agenda" ((tags-todo "+PRIORITY={A}" ((org-agenda-overriding-header "Top Priorities"))) - (agenda "" nil))))) + (agenda "" nil) + (agenda "" + ((org-agenda-span 'week) + (org-agenda-start-day "+1w") + (org-agenda-overriding-header + (format-time-string "Next Week-agenda (W%V)" (org-read-date nil t "+1w"))))) + (agenda "" + ((org-agenda-span 'month) + (org-agenda-start-day "+2w") + (org-agenda-time-grid nil) + (org-agenda-show-all-dates nil) + (org-agenda-overriding-header + (let* ((start (org-read-date nil t "+2w")) + (end (time-add start (days-to-time 30)))) + (format "Farther away (%s - %s)" + (format-time-string "%d %B %Y" start) + (format-time-string "%d %B %Y" end)))))))))) (defcustom custom/org-agenda-frame-name "**Agenda**" "Customize dedicated frame name to launch `org-agenda' in." diff --git a/gui/conf/niri.kdl b/gui/conf/niri.kdl index 3741a60..6a1b47d 100644 --- a/gui/conf/niri.kdl +++ b/gui/conf/niri.kdl @@ -113,6 +113,8 @@ window-rule { match title="\\*\\*Agenda\\*\\*" open-floating true open-focused true + default-column-width { proportion 0.5; } + default-window-height { proportion 0.7; } focus-ring { off } |
