/org-agenda-category-icons

Package for more easily defining org-agenda-category-icon-alist

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

org-agenda-category-icons

org-agenda-category-icons: a package for defining your icons

One of the nicest features of org-agenda is the ~org-agenda-category-alist~ variable. However, using fancier icons, like from All the Icons, can be quite cumbersome. So this package provides a macro org-agenda-category-icons! to make this nicer.

(org-agenda-category-icons!
 ;; Set the icon for the category "sleep" to the faicon "bed" icon from
 ;; `all-the-icons'
 :faicon
 (bed sleep)

 ;; Podcast => the radio-tower octicon icon
 :octicon
 (radio-tower Podcast)

 :material
 (local_car_wash "Car Wash") ;; multi-word categories should be in a string

 ;; Use a bare emoji
 :emoji
 ("🏋" Workout workouts) ;; define multiple categories

 :alltheicon
 (rust "Rust Philly"))

Using the macro

The default icon sets are defined in the org-agenda-category-icons-iconset-alist variable.

By default the options include

KeywordIcon Set
:faiconFont Awesome Icons
:octiconGithub Octicons
:materialMaterial Icons
:wiconWeather icons
:alltheiconOther all-the-icons icons
:emojiEmoji