mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: include prot-icons for frames and git that prot-modeline uses
This commit is contained in:
parent
56f1947a25
commit
83aaa5aab3
|
|
@ -12869,6 +12869,8 @@ Now use `display-buffer-alist' like the Lisp gods intended."
|
|||
(audio ">Η" prot-icons-cyan) ; ήχος
|
||||
(image ">Ε" prot-icons-yellow) ; εικόνα
|
||||
(video ">Κ" prot-icons-blue) ; κίνηση (κινηματογράφος)
|
||||
(frame "[]" prot-icons-gray)
|
||||
(git "|-" prot-icons-gray)
|
||||
(t ">." prot-icons-gray))
|
||||
"Major modes or concepts and their corresponding icons.
|
||||
Each element is a cons cell of the form (THING STRING FACE), where THING
|
||||
|
|
@ -13936,7 +13938,7 @@ face. Let other buffers have no face.")
|
|||
"Prepare text for Git controlled FILE, given BRANCH.
|
||||
With optional FACE, use it to propertize the BRANCH."
|
||||
(format "%s %s "
|
||||
(propertize "\\/" 'face 'prot-modeline-indicator-gray)
|
||||
(prot-icons-get-icon 'git 'prot-modeline-indicator-gray)
|
||||
;; (propertize (char-to-string #xE0A0) 'face 'prot-modeline-indicator-gray)
|
||||
(propertize branch
|
||||
'face face
|
||||
|
|
@ -14063,9 +14065,8 @@ Specific to the current window's mode line.")
|
|||
(current-frame (selected-frame))
|
||||
(_ (frame-live-p current-frame))
|
||||
(parameters (frame-parameters))
|
||||
(name (capitalize (alist-get 'name parameters)))
|
||||
(indicator "[+]"))
|
||||
(format "%s %s " (propertize indicator 'face 'prot-modeline-indicator-gray) name)))))
|
||||
(name (capitalize (alist-get 'name parameters))))
|
||||
(format "%s %s " (prot-icons-get-icon 'frame 'prot-modeline-indicator-gray) name)))))
|
||||
"Mode line construct to display the current frame name.")
|
||||
|
||||
;;;; `which-function-mode' indicator
|
||||
|
|
|
|||
|
|
@ -130,6 +130,8 @@
|
|||
(audio ">Η" prot-icons-cyan) ; ήχος
|
||||
(image ">Ε" prot-icons-yellow) ; εικόνα
|
||||
(video ">Κ" prot-icons-blue) ; κίνηση (κινηματογράφος)
|
||||
(frame "[]" prot-icons-gray)
|
||||
(git "|-" prot-icons-gray)
|
||||
(t ">." prot-icons-gray))
|
||||
"Major modes or concepts and their corresponding icons.
|
||||
Each element is a cons cell of the form (THING STRING FACE), where THING
|
||||
|
|
|
|||
|
|
@ -424,7 +424,7 @@ face. Let other buffers have no face.")
|
|||
"Prepare text for Git controlled FILE, given BRANCH.
|
||||
With optional FACE, use it to propertize the BRANCH."
|
||||
(format "%s %s "
|
||||
(propertize "\\/" 'face 'prot-modeline-indicator-gray)
|
||||
(prot-icons-get-icon 'git 'prot-modeline-indicator-gray)
|
||||
;; (propertize (char-to-string #xE0A0) 'face 'prot-modeline-indicator-gray)
|
||||
(propertize branch
|
||||
'face face
|
||||
|
|
@ -551,9 +551,8 @@ Specific to the current window's mode line.")
|
|||
(current-frame (selected-frame))
|
||||
(_ (frame-live-p current-frame))
|
||||
(parameters (frame-parameters))
|
||||
(name (capitalize (alist-get 'name parameters)))
|
||||
(indicator "[+]"))
|
||||
(format "%s %s " (propertize indicator 'face 'prot-modeline-indicator-gray) name)))))
|
||||
(name (capitalize (alist-get 'name parameters))))
|
||||
(format "%s %s " (prot-icons-get-icon 'frame 'prot-modeline-indicator-gray) name)))))
|
||||
"Mode line construct to display the current frame name.")
|
||||
|
||||
;;;; `which-function-mode' indicator
|
||||
|
|
|
|||
Loading…
Reference in a new issue