[Emacs] Do not run any EXWM code if it is not used
Only run the configuration code for EXWM if the argument `--with-exwm' is passed to Emacs, otherwise don’t
This commit is contained in:
parent
30086fa7ce
commit
61c123799b
@ -3662,6 +3662,7 @@ exwm-randr ran, because otherwise having multiple monitors don’t work.
|
|||||||
The complete configuration for the ~exwm~ package can be found below.
|
The complete configuration for the ~exwm~ package can be found below.
|
||||||
#+begin_src emacs-lisp :noweb yes
|
#+begin_src emacs-lisp :noweb yes
|
||||||
(use-package exwm
|
(use-package exwm
|
||||||
|
:if (seq-contains-p command-line-args "--use-exwm")
|
||||||
:straight (exwm :build t
|
:straight (exwm :build t
|
||||||
:type git
|
:type git
|
||||||
:host github
|
:host github
|
||||||
@ -3696,6 +3697,7 @@ The complete configuration for the ~exwm~ package can be found below.
|
|||||||
:END:
|
:END:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package evil-exwm-state
|
(use-package evil-exwm-state
|
||||||
|
:if (seq-contains-p command-line-args "--use-exwm")
|
||||||
:defer t
|
:defer t
|
||||||
:after exwm
|
:after exwm
|
||||||
:straight (evil-exwm-state :build t
|
:straight (evil-exwm-state :build t
|
||||||
|
Loading…
Reference in New Issue
Block a user