diff --git a/exwm-background.el b/exwm-background.el index 52ed53e..1d9ad0c 100644 --- a/exwm-background.el +++ b/exwm-background.el @@ -23,9 +23,9 @@ ;; This module adds X background color setting support to EXWM. -;; To use this module, load and enable it as follows: -;; (require 'exwm-background) -;; (exwm-background-enable) +;; To use this module, enable it as follows: +;; +;; (exwm-background-mode 1) ;; ;; By default, this will apply the theme's background color. However, that ;; color can be customized via the `exwm-background-color' setting. diff --git a/exwm-randr.el b/exwm-randr.el index f9fc06a..0475e71 100644 --- a/exwm-randr.el +++ b/exwm-randr.el @@ -30,13 +30,12 @@ ;; `exwm-randr-workspace-monitor-plist' and `exwm-randr-screen-change-hook' ;; as follows: ;; -;; (require 'exwm-randr) ;; (setq exwm-randr-workspace-monitor-plist '(0 "VGA1")) ;; (add-hook 'exwm-randr-screen-change-hook ;; (lambda () ;; (start-process-shell-command ;; "xrandr" nil "xrandr --output VGA1 --left-of LVDS1 --auto"))) -;; (exwm-randr-enable) +;; (exwm-randr-mode 1) ;; ;; With above lines, workspace 0 should be assigned to the output named "VGA1", ;; staying at the left of other workspaces on the output "LVDS1". Please refer diff --git a/exwm-systemtray.el b/exwm-systemtray.el index 00a7a27..87e50e3 100644 --- a/exwm-systemtray.el +++ b/exwm-systemtray.el @@ -24,9 +24,9 @@ ;; This module adds system tray support for EXWM. -;; To use this module, load and enable it as follows: -;; (require 'exwm-systemtray) -;; (exwm-systemtray-enable) +;; To use this module, enable it as follows: +;; +;; (exwm-systemtray-mode 1) ;;; Code: diff --git a/exwm-xim.el b/exwm-xim.el index a33526d..6138e2d 100644 --- a/exwm-xim.el +++ b/exwm-xim.el @@ -41,10 +41,9 @@ ;; + Only support static event flow, on-demand-synchronous method. ;; + Only "root-window" input style is supported. -;; To use this module, first load and enable it as follows: +;; To use this module, enable it as follows: ;; -;; (require 'exwm-xim) -;; (exwm-xim-enable) +;; (exwm-xim-mode 1) ;; ;; A keybinding for `toggle-input-method' is probably required to turn on & ;; off an input method (default to `default-input-method'). It's bound to diff --git a/exwm-xsettings.el b/exwm-xsettings.el index 904477b..84fe4ab 100644 --- a/exwm-xsettings.el +++ b/exwm-xsettings.el @@ -26,7 +26,6 @@ ;; ;; 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") @@ -37,7 +36,7 @@ ;; ;; (144 = 1.5 * 96). ;; ("Xft/DPI" . ,(* 144 1024)) ;; ("Xft/Hinting" . 1))) -;; (exwm-xsettings-enable) +;; (exwm-xsettings-mode 1) ;; ;; To modify these settings at runtime, customize them with ;; `custom-set-variables' or `setopt' (Emacs 29+). E.g., the following will