summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-06 21:06:50 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-06 21:06:50 -0400
commiteb42934efad5dfcf54f5e1bbf0a0f8da6809c656 (patch)
tree2155f1d8904bf33080dd5420c21a587cff09062c
parent8aec5f442f2667c81cb22b7548242c2f9cce9bee (diff)
downloadconfigs-eb42934efad5dfcf54f5e1bbf0a0f8da6809c656.tar.gz
configs-eb42934efad5dfcf54f5e1bbf0a0f8da6809c656.tar.xz
configs-eb42934efad5dfcf54f5e1bbf0a0f8da6809c656.zip
emacs: take solarized for a spin
been so long :)
-rw-r--r--.emacs.d/init.el44
1 files changed, 33 insertions, 11 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index f46ddee..076a7b5 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1479,6 +1479,7 @@ This function is intended for use with `ivy-ignore-buffers'."
(load-theme 'tangomod t)
(use-package smart-mode-line
+ :disabled
:commands (sml/apply-theme)
:demand
:config
@@ -1492,9 +1493,30 @@ This function is intended for use with `ivy-ignore-buffers'."
:custom
(doom-modeline-buffer-file-name-style 'relative-to-project))
-(use-package doom-themes)
+(use-package doom-themes
+ :disabled)
+
+(use-package solarized-theme
+ :demand
+ :config
+ (load-theme 'solarized-light t)
+ (let ((line (face-attribute 'mode-line :underline)))
+ (set-face-attribute 'mode-line nil :overline line)
+ (set-face-attribute 'mode-line-inactive nil :overline line)
+ (set-face-attribute 'mode-line-inactive nil :underline line)
+ (set-face-attribute 'mode-line nil :box nil)
+ (set-face-attribute 'mode-line-inactive nil :box nil)
+ (set-face-attribute 'mode-line-inactive nil :background "#f9f2d9")))
+
+(use-package moody
+ :demand
+ :config
+ (setq x-underline-at-descent-line t)
+ (moody-replace-mode-line-buffer-identification)
+ (moody-replace-vc-mode))
(defvar b/org-mode-font-lock-keywords
+ "For use with the `doom-tomorrow-night' theme."
'(("[ \t]*\\(#\\+\\(BEGIN\\|END\\|begin\\|end\\)_\\(\\S-+\\)\\)[ \t]*\\([^\n:]*\\)"
(1 '(:foreground "#5a5b5a" :background "#292b2b") t) ; directive
(3 '(:foreground "#81a2be" :background "#292b2b") t) ; kind
@@ -1504,21 +1526,21 @@ This function is intended for use with `ivy-ignore-buffers'."
"Enable my favourite light theme."
(interactive)
(mapc #'disable-theme custom-enabled-themes)
- (load-theme 'tangomod t)
- (sml/apply-theme 'automatic)
- (font-lock-remove-keywords
- 'org-mode b/org-mode-font-lock-keywords)
- (exwm-systemtray--refresh))
+ (load-theme 'solarized-light t)
+ ;; (sml/apply-theme 'automatic)
+ ;; (font-lock-remove-keywords
+ ;; 'org-mode b/org-mode-font-lock-keywords)
+ (run-with-timer 0.01 nil 'exwm-systemtray--refresh))
(defun b/lights-off ()
"Go dark."
(interactive)
(mapc #'disable-theme custom-enabled-themes)
- (load-theme 'doom-tomorrow-night t)
- (sml/apply-theme 'automatic)
- (font-lock-add-keywords
- 'org-mode b/org-mode-font-lock-keywords t)
- (exwm-systemtray--refresh))
+ (load-theme 'solarized-dark t)
+ ;; (sml/apply-theme 'automatic)
+ ;; (font-lock-add-keywords
+ ;; 'org-mode b/org-mode-font-lock-keywords t)
+ (run-with-timer 0.01 nil 'exwm-systemtray--refresh))
(bind-keys
("C-c t d" . b/lights-off)