diff --git a/oni-org/icons/bs-building.svg b/oni-org/icons/bs-building.svg new file mode 100644 index 0000000..eb90b93 --- /dev/null +++ b/oni-org/icons/bs-building.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/oni-org/icons/bs-kanban.svg b/oni-org/icons/bs-kanban.svg new file mode 100644 index 0000000..c5cdaaf --- /dev/null +++ b/oni-org/icons/bs-kanban.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/oni-org/icons/bx-bug.svg b/oni-org/icons/bx-bug.svg new file mode 100644 index 0000000..d24b78c --- /dev/null +++ b/oni-org/icons/bx-bug.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bx-desktop.svg b/oni-org/icons/bx-desktop.svg new file mode 100644 index 0000000..8c2f85e --- /dev/null +++ b/oni-org/icons/bx-desktop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bx-shopping-bag.svg b/oni-org/icons/bx-shopping-bag.svg new file mode 100644 index 0000000..d60e83a --- /dev/null +++ b/oni-org/icons/bx-shopping-bag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bx-task.svg b/oni-org/icons/bx-task.svg new file mode 100644 index 0000000..e613d6a --- /dev/null +++ b/oni-org/icons/bx-task.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bxs-book-content.svg b/oni-org/icons/bxs-book-content.svg new file mode 100644 index 0000000..8c87e85 --- /dev/null +++ b/oni-org/icons/bxs-book-content.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bxs-bulb.svg b/oni-org/icons/bxs-bulb.svg new file mode 100644 index 0000000..b2793bc --- /dev/null +++ b/oni-org/icons/bxs-bulb.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bxs-coffee.svg b/oni-org/icons/bxs-coffee.svg new file mode 100644 index 0000000..2b82cf3 --- /dev/null +++ b/oni-org/icons/bxs-coffee.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bxs-game.svg b/oni-org/icons/bxs-game.svg new file mode 100644 index 0000000..5dec3bf --- /dev/null +++ b/oni-org/icons/bxs-game.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bxs-inbox.svg b/oni-org/icons/bxs-inbox.svg new file mode 100644 index 0000000..92a8695 --- /dev/null +++ b/oni-org/icons/bxs-inbox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bxs-music.svg b/oni-org/icons/bxs-music.svg new file mode 100644 index 0000000..07f8cbe --- /dev/null +++ b/oni-org/icons/bxs-music.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/bxs-truck.svg b/oni-org/icons/bxs-truck.svg new file mode 100644 index 0000000..d5220a9 --- /dev/null +++ b/oni-org/icons/bxs-truck.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/emacs.svg b/oni-org/icons/emacs.svg new file mode 100644 index 0000000..a2bc441 --- /dev/null +++ b/oni-org/icons/emacs.svg @@ -0,0 +1,286 @@ + +image/svg+xml diff --git a/oni-org/icons/icons8-blog-64.png b/oni-org/icons/icons8-blog-64.png deleted file mode 100644 index de64a0e..0000000 Binary files a/oni-org/icons/icons8-blog-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-book-64.png b/oni-org/icons/icons8-book-64.png deleted file mode 100644 index 56a85fb..0000000 Binary files a/oni-org/icons/icons8-book-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-bug-64.png b/oni-org/icons/icons8-bug-64.png deleted file mode 100644 index f2da9b0..0000000 Binary files a/oni-org/icons/icons8-bug-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-checkmark-64.png b/oni-org/icons/icons8-checkmark-64.png deleted file mode 100644 index 783a104..0000000 Binary files a/oni-org/icons/icons8-checkmark-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-code-64.png b/oni-org/icons/icons8-code-64.png deleted file mode 100644 index 75c36ca..0000000 Binary files a/oni-org/icons/icons8-code-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-ebook-64.png b/oni-org/icons/icons8-ebook-64.png deleted file mode 100644 index ed07fc8..0000000 Binary files a/oni-org/icons/icons8-ebook-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-email-64.png b/oni-org/icons/icons8-email-64.png deleted file mode 100644 index 7941b8e..0000000 Binary files a/oni-org/icons/icons8-email-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-game-controller-64.png b/oni-org/icons/icons8-game-controller-64.png deleted file mode 100644 index 496ef80..0000000 Binary files a/oni-org/icons/icons8-game-controller-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-inbox-64.png b/oni-org/icons/icons8-inbox-64.png deleted file mode 100644 index 303f154..0000000 Binary files a/oni-org/icons/icons8-inbox-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-light-64.png b/oni-org/icons/icons8-light-64.png deleted file mode 100644 index 755c692..0000000 Binary files a/oni-org/icons/icons8-light-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-musical-notes-64.png b/oni-org/icons/icons8-musical-notes-64.png deleted file mode 100644 index a1e74cc..0000000 Binary files a/oni-org/icons/icons8-musical-notes-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-paper-64.png b/oni-org/icons/icons8-paper-64.png deleted file mode 100644 index 9998ece..0000000 Binary files a/oni-org/icons/icons8-paper-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-project-64.png b/oni-org/icons/icons8-project-64.png deleted file mode 100644 index 9ee32ee..0000000 Binary files a/oni-org/icons/icons8-project-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-question-mark-64.png b/oni-org/icons/icons8-question-mark-64.png deleted file mode 100644 index 82cd7c3..0000000 Binary files a/oni-org/icons/icons8-question-mark-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-shopping-cart-64.png b/oni-org/icons/icons8-shopping-cart-64.png deleted file mode 100644 index 1018718..0000000 Binary files a/oni-org/icons/icons8-shopping-cart-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-sprout-64.png b/oni-org/icons/icons8-sprout-64.png deleted file mode 100644 index 03ecb67..0000000 Binary files a/oni-org/icons/icons8-sprout-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-tea-64.png b/oni-org/icons/icons8-tea-64.png deleted file mode 100644 index 9750258..0000000 Binary files a/oni-org/icons/icons8-tea-64.png and /dev/null differ diff --git a/oni-org/icons/icons8-workstation-64.png b/oni-org/icons/icons8-workstation-64.png deleted file mode 100644 index a542fb4..0000000 Binary files a/oni-org/icons/icons8-workstation-64.png and /dev/null differ diff --git a/oni-org/icons/mat-book-open-variant.svg b/oni-org/icons/mat-book-open-variant.svg new file mode 100644 index 0000000..a05efc5 --- /dev/null +++ b/oni-org/icons/mat-book-open-variant.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/mat-email.svg b/oni-org/icons/mat-email.svg new file mode 100644 index 0000000..7b6f938 --- /dev/null +++ b/oni-org/icons/mat-email.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/mat-head-question.svg b/oni-org/icons/mat-head-question.svg new file mode 100644 index 0000000..1344511 --- /dev/null +++ b/oni-org/icons/mat-head-question.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/mat-note-text-outline.svg b/oni-org/icons/mat-note-text-outline.svg new file mode 100644 index 0000000..8dbeb0c --- /dev/null +++ b/oni-org/icons/mat-note-text-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/mat-one-up.svg b/oni-org/icons/mat-one-up.svg new file mode 100644 index 0000000..114ccba --- /dev/null +++ b/oni-org/icons/mat-one-up.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/mat-post-outline.svg b/oni-org/icons/mat-post-outline.svg new file mode 100644 index 0000000..6751614 --- /dev/null +++ b/oni-org/icons/mat-post-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/mat-security.svg b/oni-org/icons/mat-security.svg new file mode 100644 index 0000000..59b1ab9 --- /dev/null +++ b/oni-org/icons/mat-security.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/mat-star-circle-outline.svg b/oni-org/icons/mat-star-circle-outline.svg new file mode 100644 index 0000000..22f963c --- /dev/null +++ b/oni-org/icons/mat-star-circle-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/icons/mat-web.svg b/oni-org/icons/mat-web.svg new file mode 100644 index 0000000..9304331 --- /dev/null +++ b/oni-org/icons/mat-web.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 5095c5a..5a3f9a3 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.0407.195144 +;; Version: 2021.0407.213253 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal) ;; This program is free software; you can redistribute it and/or modify @@ -327,27 +327,32 @@ also move point to the start of the heading." (defun oni-org-set-agenda-category-icons () "Set ‘org-agenda-category-icon-alist’." (let* ((icon-height (window-default-font-height)) - (defaults `(png nil :height ,icon-height :ascent center))) + (defaults `(nil :height ,icon-height :ascent center)) + (svg `(svg ,@defaults))) (setq org-agenda-category-icon-alist - `((,(rx string-start "task" string-end) ,(expand-file-name "icons8-checkmark-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "inbox" string-end) ,(expand-file-name "icons8-inbox-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "email" string-end) ,(expand-file-name "icons8-email-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "life" string-end) ,(expand-file-name "icons8-sprout-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "feature" string-end) ,(expand-file-name "icons8-code-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "work" string-end) ,(expand-file-name "icons8-workstation-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "game" string-end) ,(expand-file-name "icons8-game-controller-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "shopping" string-end) ,(expand-file-name "icons8-shopping-cart-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "bug" string-end) ,(expand-file-name "icons8-bug-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "idea" string-end) ,(expand-file-name "icons8-light-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "article" string-end) ,(expand-file-name "icons8-blog-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "project" string-end) ,(expand-file-name "icons8-project-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "ebook" string-end) ,(expand-file-name "icons8-ebook-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "book" string-end) ,(expand-file-name "icons8-book-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "Morning Cup of Coding" string-end) ,(expand-file-name "icons8-tea-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "paper" string-end) ,(expand-file-name "icons8-paper-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "question" string-end) ,(expand-file-name "icons8-question-mark-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "music" string-end) ,(expand-file-name "icons8-musical-notes-64.png" oni-org-icons-dir) ,@defaults) - (,(rx string-start "emacs" string-end) ,(expand-file-name "emacs.svg" oni-org-icons-dir) svg nil :height ,icon-height :ascent center))))) + `((,(rx string-start "task" string-end) ,(expand-file-name "bx-task.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "inbox" string-end) ,(expand-file-name "bxs-inbox.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "email" string-end) ,(expand-file-name "mat-email.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "life" string-end) ,(expand-file-name "mat-one-up.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "feature" string-end) ,(expand-file-name "mat-star-circle-outline.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "work" string-end) ,(expand-file-name "bs-building.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "game" string-end) ,(expand-file-name "bxs-game.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "shopping" string-end) ,(expand-file-name "bx-shopping-bag.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "bug" string-end) ,(expand-file-name "bx-bug.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "idea" string-end) ,(expand-file-name "bxs-bulb.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "article" string-end) ,(expand-file-name "mat-post-outline.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "project" string-end) ,(expand-file-name "bs-kanban.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "ebook" string-end) ,(expand-file-name "bxs-book-content.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "book" string-end) ,(expand-file-name "mat-book-open-variant.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "Morning Cup of Coding" string-end) ,(expand-file-name "bxs-coffee.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "paper" string-end) ,(expand-file-name "mat-note-text-outline.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "question" string-end) ,(expand-file-name "mat-head-question.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "music" string-end) ,(expand-file-name "bxs-music.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "emacs" string-end) ,(expand-file-name "emacs.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "moving" string-end) ,(expand-file-name "bxs-truck.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "security" string-end) ,(expand-file-name "mat-security.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "website" string-end) ,(expand-file-name "mat-web.svg" oni-org-icons-dir) ,@svg) + (,(rx string-start "desktop" string-end) ,(expand-file-name "bx-desktop.svg" oni-org-icons-dir) ,@svg))))) (setq org-agenda-files (cons org-default-notes-file