diff options
author | Daniel Mendler <mail@daniel-mendler.de> | 2024-01-14T00·05+0100 |
---|---|---|
committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-01-14T00·07+0100 |
commit | 5acb8bea8a4c1e01e05c29eedbd85360a0e27309 (patch) | |
tree | d5d2f77ef98119b09c8ae9e495749e2f04dea0f6 | |
parent | c033fc00f34f5b638cf8971a0661de61391786ef (diff) |
New customization group exwm-xsettings
* exwm-xsettings.el (exwm-xsettings): New customization group.
-rw-r--r-- | exwm-xsettings.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/exwm-xsettings.el b/exwm-xsettings.el index 4eac557b9aa6..42b781ad84ff 100644 --- a/exwm-xsettings.el +++ b/exwm-xsettings.el @@ -40,7 +40,7 @@ ;; (exwm-xsettings-enable) ;; ;; To modify these settings at runtime, customize them with -;; `custom-set-variables' or `setopt' (Emacs 29+). E.g., the following will +;; `custom-set-variables' or `setopt' (Emacs 29+). E.g., the following will ;; immediately change the icon theme to "Papirus" at runtime, even in running ;; applications: ;; @@ -69,11 +69,14 @@ SYMBOL is the setting being updated and VALUE is the new value." (set-default-toplevel-value symbol value) (exwm-xsettings--update-settings)) +(defgroup exwm-xsettings nil + "XSETTINGS." + :group 'exwm) + (defcustom exwm-xsettings nil - "Custom XSETTINGS. + "Alist of custom XSETTINGS. These settings take precedence over `exwm-xsettings-theme' and `exwm-xsettings-icon-theme'." - :group 'exwm :type '(alist :key-type (string :tag "Name") :value-type (choice :tag "Value" (string :tag "String") @@ -101,7 +104,6 @@ These settings take precedence over `exwm-xsettings-theme' and (defcustom exwm-xsettings-theme nil "The system-wide theme." - :group 'exwm :type '(choice (string :tag "Theme") (cons (string :tag "Light Theme") (string :tag "Dark Theme"))) @@ -110,7 +112,6 @@ These settings take precedence over `exwm-xsettings-theme' and (defcustom exwm-xsettings-icon-theme nil "The system-wide icon theme." - :group 'exwm :type '(choice (string :tag "Icon Theme") (cons (string :tag "Light Icon Theme") (string :tag "Dark Icon Theme"))) |