[Emacs] Better settings for EXWM

This commit is contained in:
Lucien Cartier-Tilet 2021-04-11 16:08:32 +02:00
parent 7f05c46ebc
commit 43bb79e708
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 4 additions and 1 deletions

View File

@ -77,6 +77,8 @@ This function is called at the very end of Spacemacs startup, after layer
configuration. configuration.
Put your configuration code here, except for variables that should be set Put your configuration code here, except for variables that should be set
before packages are loaded." before packages are loaded."
(require 'exwm)
(exwm-enable)
(load phundrak--dotspacemacs-uc)) (load phundrak--dotspacemacs-uc))
(defun dotspacemacs/emacs-custom-settings () (defun dotspacemacs/emacs-custom-settings ()

View File

@ -611,6 +611,8 @@ tools.
conlanging conlanging
(exwm :variables (exwm :variables
exwm-enable-systray t exwm-enable-systray t
exwm-custom-init (lambda ()
(exwm/autostart-process "autostart"))
exwm-locking-command "plock") exwm-locking-command "plock")
#+END_SRC #+END_SRC
@ -1421,7 +1423,6 @@ Then, I want a couple of requires:
(require 'ox-latex) (require 'ox-latex)
(require 'ox-publish) (require 'ox-publish)
(require 'tramp) (require 'tramp)
(require 'exwm)
#+END_SRC #+END_SRC
* User Configuration * User Configuration