summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-11-23 13:33:07 -0800
committerFranck Cuny <fcuny@twitter.com>2019-11-23 13:33:07 -0800
commit2770227f6f4f755dc7cb941d35be0d86e2411e10 (patch)
treec715033651080b8dc66ac9ea0d95aeb8f5631534
parent[zsh] cleanup after migrating to OSX Catalina (diff)
downloademacs.d-2770227f6f4f755dc7cb941d35be0d86e2411e10.tar.gz
[emacs] Add a new theme: spacemacs.
The light version of the theme is pretty readable, similar to
solarized but with more contrast.

I'm also adding the support for the spaceline using the spacemacs
theme, since it's pretty clean and improve the readability.
-rw-r--r--emacs.d/custom/fcuny-ui.el20
1 files changed, 12 insertions, 8 deletions
diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el
index 6d301c4..df4e85f 100644
--- a/emacs.d/custom/fcuny-ui.el
+++ b/emacs.d/custom/fcuny-ui.el
@@ -29,21 +29,25 @@
 (use-package uniquify
   :defer 5
   :config
-  (setq uniquify-ignore-buffers-re "^\\*") ; don't muck with special buffers
+  ;; don't muck with special buffers
+  (setq uniquify-ignore-buffers-re "^\\*")
   (setq uniquify-buffer-name-style 'forward)
   (setq uniquify-separator "/"))
 
 (use-package hydra
   :ensure t)
 
-(use-package smart-mode-line
+(use-package spacemacs-theme
+  :defer t
+  :init (load-theme 'spacemacs-light t))
+
+(use-package spaceline
   :ensure t
+  :init
+  (require 'spaceline-config)
   :config
-  ;; See https://github.com/Malabarba/smart-mode-line/issues/217
-  (setq mode-line-format (delq 'mode-line-position mode-line-format))
-  (setq sml/no-confirm-load-theme t)
-  (sml/setup)
-  (sml/apply-theme 'light)
-  (remove-hook 'display-time-hook 'sml/propertize-time-string))
+  (progn
+    (spaceline-spacemacs-theme)
+    (spaceline-toggle-minor-modes-on)))
 
 (provide 'fcuny-ui)