Skip to content

justinbarclay/elegant-agenda-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://melpa.org/packages/elegant-agenda-mode-badge.svg

Helping you make your agenda more elegant

elegant-agenda-mode

elegant-agenda-mode aims to utilize typography to make org-agenda elegant and easy to read.

Examples

elegant-agenda-mode works well with custom agenda commands. For example with a command labeled as today, it will apply spacing based on category and use the agenda label as a header for the view.

(setq org-agenda-custom-commands
      '(("d" "Today"
         ((tags-todo "SCHEDULED<\"<+1d>\"&PRIORITY=\"A\""
                     ((org-agenda-skip-function
                       '(org-agenda-skip-entry-if 'todo 'done))
                      (org-agenda-overriding-header "High-priority unfinished tasks:")))
          (agenda "" ((org-agenda-span 'day)
                      (org-scheduled-delay-days -14)
                      (org-agenda-overriding-header "Schedule")))
          (tags-todo "SCHEDULED<\"<+1d>\""
                     ((org-agenda-skip-function
                       '(or (org-agenda-skip-entry-if 'done)
                            (air-org-skip-subtree-if-priority ?A)))
                      (org-agenda-overriding-header "Tasks:")))))))

./images/today-elegant-light.svg

./images/today-elegant-dark.svg

./images/today-dracula.svg

It works equally as well with a base agenda view.

./images/week-elegant-light.svg

./images/week-elegant-dark.svg

./images/week-dracula.svg

Font

elegant-agenda-mode was designed to with Yanone Kaffeesatz in mind. However, if you prefer to use a different font you can set it with `elegant-agenda-font`

(setq elegant-agenda-font "Some other font")

If your alternative font is monospaced and your tags aren’t being aligned properly, you can set `elegant-agenda-is-mono-font` and elegant-agenda will realign tags manually.

(setq elegant-agenda-is-mono-font 't)

Installing

From source

You can install elegant-agenda-mode from source (this github repo)

cd /path/for/elisp-packages
git clone [email protected]:justinbarclay/elegant-agenda-mode.git

After that add it to your load path and go wild.

(add-to-list 'load-path "/path/to/elegant-agenda-mode")
(require 'elegant-agenda-mode)
(add-hook 'org-agenda-mode-hook 'elegant-agenda-mode)

Straight and Use Package

(use-package elegant-agenda-mode
  :straight (elegant-agenda-mode :type git :host github :repo "justinbarclay/elegant-agenda-mode")
  :hook org-agenda-mode-hook) 

Thanks

This work was inspired by a post from @rougier on Reddit.

About

My only agenda is to be more elegant.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published