emacs: refine the symbolic prot-icons

This commit is contained in:
Protesilaos Stavrou 2026-04-10 09:42:09 +03:00
parent 96d51ca6b3
commit 407203c77d
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
3 changed files with 18 additions and 24 deletions

View file

@ -9,9 +9,6 @@
(prot-icons-dired-mode 1)
(prot-icons-xref-mode 1)
(when (eq prot-icons-style 'symbolic)
(set-face-attribute 'prot-icons-icon nil :inherit 'unspecified))
(when (and prot-emacs-load-theme-family
(eq prot-icons-style 'alphabetic))
(cond

View file

@ -11696,9 +11696,6 @@ are handled by =prot-modeline.el=:
(prot-icons-dired-mode 1)
(prot-icons-xref-mode 1)
(when (eq prot-icons-style 'symbolic)
(set-face-attribute 'prot-icons-icon nil :inherit 'unspecified))
(when (and prot-emacs-load-theme-family
(eq prot-icons-style 'alphabetic))
(cond
@ -13145,20 +13142,20 @@ FACE is the face to use for it, where applicable.")
"Same as `prot-icons-alphabetic' with emoji characters.")
(defvar prot-icons-symbolic
'((dired-mode "🗁" prot-icons-directory)
(archive-mode "🗇" prot-icons-directory)
(diff-mode "𜰔" prot-icons-yellow)
(prog-mode "𜰊" prot-icons-magenta)
'((dired-mode "" prot-icons-directory)
(archive-mode "" prot-icons-directory)
(diff-mode "" prot-icons-yellow)
(prog-mode "" prot-icons-magenta)
(conf-mode "🗅" prot-icons-gray)
(text-mode "𜲸" prot-icons-green)
(text-mode "" prot-icons-green)
(comint-mode "⨠" prot-icons-gray)
(document "🗎" prot-icons-red)
(audio "𝅘𝅥𝅮" prot-icons-cyan)
(image "𜷻" prot-icons-yellow)
(video "🖭" prot-icons-blue)
(frame "🗔" prot-icons-gray)
(git "𜸕" prot-icons-gray)
(t "🔾" prot-icons-gray))
(video "" prot-icons-blue)
(frame "𜲋" prot-icons-gray)
(git "" prot-icons-gray)
(t "·" prot-icons-gray))
"Same as `prot-icons-alphabetic' with Unicode symbols.")
(defun prot-icons--get-style ()

View file

@ -169,20 +169,20 @@ FACE is the face to use for it, where applicable.")
"Same as `prot-icons-alphabetic' with emoji characters.")
(defvar prot-icons-symbolic
'((dired-mode "🗁" prot-icons-directory)
(archive-mode "🗇" prot-icons-directory)
(diff-mode "𜰔" prot-icons-yellow)
(prog-mode "𜰊" prot-icons-magenta)
'((dired-mode "" prot-icons-directory)
(archive-mode "" prot-icons-directory)
(diff-mode "" prot-icons-yellow)
(prog-mode "" prot-icons-magenta)
(conf-mode "🗅" prot-icons-gray)
(text-mode "𜲸" prot-icons-green)
(text-mode "" prot-icons-green)
(comint-mode "" prot-icons-gray)
(document "🗎" prot-icons-red)
(audio "𝅘𝅥𝅮" prot-icons-cyan)
(image "𜷻" prot-icons-yellow)
(video "🖭" prot-icons-blue)
(frame "🗔" prot-icons-gray)
(git "𜸕" prot-icons-gray)
(t "🔾" prot-icons-gray))
(video "" prot-icons-blue)
(frame "𜲋" prot-icons-gray)
(git "" prot-icons-gray)
(t "·" prot-icons-gray))
"Same as `prot-icons-alphabetic' with Unicode symbols.")
(defun prot-icons--get-style ()