Skip to content

Commit

Permalink
[Icons] Add inbox icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Miller committed Aug 15, 2024
1 parent 30919bb commit c1b212e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file added icons/default/svgrepo/inbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/elisp/treemacs-icons.el
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ Necessary since root icons are not rectangular."
(treemacs-create-icon :file "svgrepo/briefcase.png" :extensions (briefcase) :fallback " ")
(treemacs-create-icon :file "svgrepo/mail.png" :extensions (mail) :fallback " ")
(treemacs-create-icon :file "svgrepo/mail-plus.png" :extensions (mail-plus) :fallback " ")
(treemacs-create-icon :file "svgrepo/inbox.png" :extensions (inbox) :fallback " ")

;; custom dir icons
(treemacs-create-icon :file "svgrepo/dir-src-closed.png" :extensions ("src-closed") :fallback (propertize "+ " 'face 'treemacs-term-node-face))
Expand Down
4 changes: 2 additions & 2 deletions src/extra/treemacs-mu4e.el
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,15 @@ Label and weight metadata will be sourced from possibly pre-filled
:open-icon
(cond
((null (treemacs-maildir->parent item))
(treemacs-get-icon-value 'root-open))
(treemacs-get-icon-value 'inbox))
((treemacs-maildir->children item)
(treemacs-get-icon-value 'mail-plus))
(t
(treemacs-get-icon-value 'mail)))
:closed-icon
(cond
((null (treemacs-maildir->parent item))
(treemacs-get-icon-value 'root-closed))
(treemacs-get-icon-value 'mail-inbox))
((treemacs-maildir->children item)
(treemacs-get-icon-value 'mail-plus))
(t
Expand Down

0 comments on commit c1b212e

Please sign in to comment.