diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/jao-custom-exwm.el | 2 | ||||
-rw-r--r-- | custom/jao-custom-gnus.el | 2 | ||||
-rw-r--r-- | custom/jao-custom-notmuch.el | 4 | ||||
-rw-r--r-- | custom/jao-custom-org.el | 11 |
4 files changed, 12 insertions, 7 deletions
diff --git a/custom/jao-custom-exwm.el b/custom/jao-custom-exwm.el index ce6189d..6e5dc96 100644 --- a/custom/jao-custom-exwm.el +++ b/custom/jao-custom-exwm.el @@ -495,7 +495,7 @@ ([?\s-3] . jao-afio-goto-www) ([?\s-4] . jao-afio-goto-docs) ([?\s-5] . jao-afio-goto-chats) - ([?\s-A] . org-agenda-list) + ([?\s-A] . jao-org-agenda) ([?\s-a] . jao-first-window) ([?\s-b] . jao-transient-org-blog) ([?\s-d] . jao-exwm-tidal*) diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el index e18ccf8..c6bb301 100644 --- a/custom/jao-custom-gnus.el +++ b/custom/jao-custom-gnus.el @@ -658,7 +658,7 @@ (gnus-demon-add-handler 'jao-gnus--scan 5 1) ;;;;; agenda updates -(add-hook 'gnus-summary-exit-hook #'org-agenda-list) +(add-hook 'gnus-summary-exit-hook #'jao-org-agenda) ;;;; open mail file in gnus diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index 0ad2abc..47fe63a 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -266,7 +266,7 @@ (defun jao-notmuch-refresh-agenda () (interactive) - (save-window-excursion (org-agenda-list))) + (save-window-excursion (jao-org-agenda))) (defun jao-notmuch-hello-first () (interactive) @@ -284,7 +284,7 @@ (let ((jao-minibuffer-inhibit t)) (save-window-excursion (calendar) - (when agenda (org-agenda-list)))) + (when agenda (jao-org-agenda)))) (unless (widget-at) (jao-notmuch-hello-first)) (jao-minibuffer-refresh)))) diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el index 3f7ca4b..7549737 100644 --- a/custom/jao-custom-org.el +++ b/custom/jao-custom-org.el @@ -60,9 +60,9 @@ org-agenda-block-separator " " org-agenda-breadcrumbs-separator "•" org-agenda-current-time-string "•" ;; "*" - org-agenda-time-grid - '((daily today require-timed) - (800 1000 1200 1400 1600 1800 2000) "" "·") + ;; '((daily today require-timed) + ;; (800 1000 1200 1400 1600 1800 2000) "" "·") + org-agenda-hide-tags-regexp ".*" org-agenda-include-diary t org-agenda-include-inactive-timestamps t org-agenda-inhibit-startup nil @@ -72,8 +72,13 @@ org-agenda-skip-scheduled-if-done nil org-agenda-span 14 org-agenda-start-on-weekday nil + org-agenda-time-grid '((daily require-timed) () "" "·") org-agenda-window-setup 'current-window) +(defun jao-org-agenda () + (interactive) + (let ((org-agenda-overriding-header " ")) (org-agenda-list))) + ;;; Capture templates (setq org-capture-templates '(("t" "TODO" entry |