From b0b341898d6649882e3d9f9dbdc5af1937168af8 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 6 Sep 2019 12:15:10 -0400 Subject: emacs: refresh exwm systemtray after changing theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (to have the tray’s background colour match the theme’s) --- .emacs.d/init.el | 6 ++++-- 1 file 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) -- cgit v1.2.3-60-g2f50