Reorganise EXWM config a little

This commit is contained in:
2021-01-01 00:00:31 +00:00
parent 7b690bbc78
commit a61fc411c6

View File

@@ -345,12 +345,18 @@ needs to be set up to install them if they aren't already.
#+begin_src emacs-lisp
(use-package exwm
:config
(require 'exwm-randr)
(exwm-randr-enable)
(require 'exwm-config)
(exwm-config-default))
#+end_src
*** Multi-monitor
Multi-monitor support is provided in =exwm-randr=:
#+begin_src emacs-lisp
(require 'exwm-randr)
(exwm-randr-enable)
#+end_src
When I have my laptop connected to a monitor I want the built-in
display to turn off, but turn back on when it's disconnected. Turns
out this is a total pain.