only show muni in spaceline in the active window
This commit is contained in:
parent
79000e90a7
commit
86777e15c8
@ -2905,13 +2905,12 @@ Ensure all themes that I use are installed:
|
|||||||
(setq-default powerline-default-separator 'utf-8))
|
(setq-default powerline-default-separator 'utf-8))
|
||||||
(spaceline-define-segment imalison:muni
|
(spaceline-define-segment imalison:muni
|
||||||
"Display the number of minutes until the next muni train comes"
|
"Display the number of minutes until the next muni train comes"
|
||||||
(format "🚇%s" (imalison:get-cached-muni-time)))
|
(format "🚇%s" (imalison:get-cached-muni-time))
|
||||||
|
:when active)
|
||||||
(setq powerline-height 25)
|
(setq powerline-height 25)
|
||||||
(spaceline-helm-mode)
|
(spaceline-helm-mode)
|
||||||
(spaceline-spacemacs-theme 'imalison:muni)))
|
(spaceline-spacemacs-theme 'imalison:muni)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
#+END_SRC
|
|
||||||
** window-number
|
** window-number
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package window-number)
|
(use-package window-number)
|
||||||
|
Loading…
Reference in New Issue
Block a user