From 86777e15c8c2253e8eecb5d535e39d5d0b6b11a6 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 16 Jun 2016 13:04:57 -0700 Subject: [PATCH] only show muni in spaceline in the active window --- dotfiles/emacs.d/README.org | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 83d35fbd..3e44060b 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2905,13 +2905,12 @@ Ensure all themes that I use are installed: (setq-default powerline-default-separator 'utf-8)) (spaceline-define-segment imalison:muni "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) (spaceline-helm-mode) (spaceline-spacemacs-theme 'imalison:muni))) #+END_SRC -#+BEGIN_SRC emacs-lisp -#+END_SRC ** window-number #+BEGIN_SRC emacs-lisp (use-package window-number)