From a55a36ea1f2259ff1f7a0d5de03058f10f9ea2e5 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sat, 6 Jan 2024 12:53:53 -0800 Subject: [PATCH] Add some documentation --- exwm-xsettings.el | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/exwm-xsettings.el b/exwm-xsettings.el index b1c6738..1d56a46 100644 --- a/exwm-xsettings.el +++ b/exwm-xsettings.el @@ -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: