Add some documentation

This commit is contained in:
Steven Allen 2024-01-06 12:53:53 -08:00
parent ef32724cd7
commit a55a36ea1f

View file

@ -23,6 +23,27 @@
;; Implements the XSETTINGS protocol, allowing Emacs to manage the
;; system theme, fonts, icons, etc.
;;
;; This package can be configured as follows:
;;
;; (require 'exwm-xsettings)
;; (setq exwm-xsettings-theme '("Adwaita" . "Adwaita-dark") ;; light/dark
;; exwm-xsettings `(("Xft/HintStyle" . "hintslight")
;; ("Xft/RGBA" . "rgb")
;; ("Xft/lcdfilter" . "lcddefault")
;; ("Xft/Antialias" . 1)
;; ;; DPI is in 1024ths of an inch, so this is a DPI of
;; ;; 144, equivalent to ;; a scaling factor of 1.5
;; ;; (144 = 1.5 * 96).
;; ("Xft/DPI" . ,(* 144 1024))
;; ("Xft/Hinting" . 1)))
;; (exwm-xsettings-enable)
;;
;; To modify these settings at runtime, customize them with `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:
;;
;; (setopt exwm-xsettings-icon-theme "Papirus")
;;; Code: