summaryrefslogtreecommitdiffstats
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-26 12:31:24 +0100
committerGravatar Tom Willemse2014-01-26 12:31:24 +0100
commitc7fdb6ccdf7616904b9cbf16535a124ade4e08a9 (patch)
treeef94e3addb47b8c4c1a6f8c22228df5f01c32b49 /.emacs.d/init.el
parent237da46f1a982ed9b9f6cbbb41487e632e320c97 (diff)
downloademacs-c7fdb6ccdf7616904b9cbf16535a124ade4e08a9.tar.gz
emacs-c7fdb6ccdf7616904b9cbf16535a124ade4e08a9.zip
Add svg-mode-line-theme
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el15
1 files changed, 13 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 4362237..2af4ed7 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -708,11 +708,22 @@ For `python-mode' I prefer `python-imenu-create-flat-index'."
"Try to set the theme for the current (first) frame."
(ignore frame)
(unless setp
- (run-at-time .1 nil (lambda () (setq setp (load-theme theme t)))))))
+ (run-at-time .1 nil (lambda () (setq setp (load-theme theme t))))
+ (smt/enable)
+ (require 'my-smt)
+ (smt/set-theme 'my-smt)
+ (set-face-attribute 'mode-line nil :box nil)
+ (set-face-attribute 'mode-line-inactive nil :box nil))))
(if (daemonp)
(add-hook 'after-make-frame-functions #'oni:set-theme)
- (oni:eval-after-init (load-theme theme t))))
+ (oni:eval-after-init
+ (load-theme theme t)
+ (smt/enable)
+ (require 'my-smt)
+ (smt/set-theme 'my-smt)
+ (set-face-attribute 'mode-line nil :box nil)
+ (set-face-attribute 'mode-line-inactive nil :box nil))))
(defun oni:shell-command-with-command (command &optional output-buffer)
"Print both COMMAND and the output into OUTPUT-BUFFER."