aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-11-24 21:41:46 +0100
committerGravatar Tom Willemse2016-11-24 21:41:59 +0100
commit8c7ae0808605475af1f9a646dd348d4e10751caa (patch)
tree393f3ea4319c1ae73ee5791b0dcfe7da7caaa6cb /emacs/.emacs.d/init.org
parent7a5cc50bb3315dc3da128e0ac56a11a9af27beea (diff)
downloadnew-dotfiles-8c7ae0808605475af1f9a646dd348d4e10751caa.tar.gz
new-dotfiles-8c7ae0808605475af1f9a646dd348d4e10751caa.zip
Add my svg-mode-line theme
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org21
1 files changed, 21 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index e2e3821..b0162eb 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -254,12 +254,33 @@ To start off, first I need to enable lexical binding.
* Theme
+ Load my personal theme. I sometimes change it to a different theme,
+ but for some reason I always come crawling back to it.
+
#+BEGIN_SRC emacs-lisp
(add-to-list 'custom-theme-load-path
(concat user-emacs-directory "vendor-lisp/yoshi-theme"))
(load-theme 'yoshi :no-confirm)
#+END_SRC
+ Load my personal SVG mode-line theme.
+
+ #+BEGIN_SRC emacs-lisp
+ (require 'svg-mode-line-themes)
+ (require 'oni-smt)
+
+ (smt/enable)
+ (smt/set-theme 'oni-smt)
+ #+END_SRC
+
+ Because SVG mode-line themes doesn't include the box around the
+ mode-line, remove it (my personal theme adds it as padding).
+
+ #+BEGIN_SRC emacs-lisp
+ (set-face-attribute 'mode-line nil :box nil)
+ (set-face-attribute 'mode-line-inactive nil :box nil)
+ #+END_SRC
+
* Diminish
I really don't need to see some of the minor modes.