Default exwm-systemtray color to `workspace-background'

* exwm-systemtray.el (exwm-systemtray-background-color): Change
default to `workspace-background', as it's supported in all
configurations.
This commit is contained in:
Adrián Medraño Calvo 2022-11-09 00:00:00 +00:00
parent e95b9ebf1d
commit 3fb1ebe58c

View file

@ -74,10 +74,7 @@ You shall use the default value if using auto-hide minibuffer."
(defvar exwm-systemtray--embedder-window-depth nil (defvar exwm-systemtray--embedder-window-depth nil
"The embedder window's depth.") "The embedder window's depth.")
(defcustom exwm-systemtray-background-color (defcustom exwm-systemtray-background-color 'workspace-background
(if (exwm-systemtray--transparency-supported-p)
'workspace-background
'transparent)
"Background color of systemtray. "Background color of systemtray.
This should be a color, the symbol `workspace-background' for the background This should be a color, the symbol `workspace-background' for the background
color of current workspace frame, or the symbol `transparent' for transparent color of current workspace frame, or the symbol `transparent' for transparent