summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-06 12:15:10 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-06 12:15:10 -0400
commitb0b341898d6649882e3d9f9dbdc5af1937168af8 (patch)
tree62119ff8149d38700504a7432fb84d83ef717c9e
parentfa9943dccbfd6cd3d7cefa8777e340e9d0b686b4 (diff)
downloadconfigs-b0b341898d6649882e3d9f9dbdc5af1937168af8.tar.gz
configs-b0b341898d6649882e3d9f9dbdc5af1937168af8.tar.xz
configs-b0b341898d6649882e3d9f9dbdc5af1937168af8.zip
emacs: refresh exwm systemtray after changing theme
(to have the tray’s background colour match the theme’s)
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 4355ad6..d6c94f8 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1481,7 +1481,8 @@ This function is intended for use with `ivy-ignore-buffers'."
(load-theme 'tangomod t)
(sml/apply-theme 'automatic)
(font-lock-remove-keywords
- 'org-mode b/org-mode-font-lock-keywords))
+ 'org-mode b/org-mode-font-lock-keywords)
+ (exwm-systemtray--refresh))
(defun b/lights-off ()
"Go dark."
@@ -1490,7 +1491,8 @@ This function is intended for use with `ivy-ignore-buffers'."
(load-theme 'doom-tomorrow-night t)
(sml/apply-theme 'automatic)
(font-lock-add-keywords
- 'org-mode b/org-mode-font-lock-keywords t))
+ 'org-mode b/org-mode-font-lock-keywords t)
+ (exwm-systemtray--refresh))
(bind-keys
("C-c t d" . b/lights-off)