Commit graph

6 commits

Author SHA1 Message Date
Steven Allen
74e4443a08 forward-declare mode variables 2024-06-03 19:53:14 -07:00
Nicholas Vollmer
83af8285f7 Add global minor modes for features
* exwm-core.el (exwm--define-global-minor-mode):
Macro for arranging EXWM mode hooks, logging.
* exwm-background.el: Add global mode definition
(exwm-background-enable): mark obsolete
* exwm-randr.el (randr): as above
(exwm-randr-enable): as above
* exwm-systemtray.el (systemtray): as above
(exwm-systemtray-mode): as above
* exwm-xim.el (xim): as above
(exwm-xim-enable): as above
* exwm-xsettings.el (xsettings): as above
(exwm-xsettings-enable): as above

Condition defcustom setters on global mode presence.
2024-06-03 10:57:03 -04:00
Daniel Mendler
182102767e
Use xcb:icccm:-ManagerSelection (#16)
* exwm-systemtray.el (xcb:systemtray:-ClientMessage): Remove class.
  (exwm-systemtray--init): Use `xcb:icccm:-ManagerSelection' instead of
  `xcb:systemtray:-ClientMessage'.
* exwm-xsettings.el (exwm-xsettings--init): Use `xcb:icccm:-ManagerSelection'
  instead of `xcb:xsettings:-ClientMessage'.
2024-02-12 23:55:19 +01:00
Daniel Mendler
089e0c8683 Move xsettings classes to xelb 2024-01-15 20:30:50 +01:00
Daniel Mendler
5acb8bea8a
New customization group exwm-xsettings
* exwm-xsettings.el (exwm-xsettings): New customization group.
2024-01-14 01:07:39 +01:00
Steven Allen
ff4edaab89 Implement the XSETTINGS protocol
Users can use this to configure system-wide themes, icons, fonts, etc.

* exwm-xsettings.el: Implement the XSETTINGS protocol (fixes
https://github.com/ch11ng/exwm/issues/876)
2024-01-13 20:23:55 +01:00