exwm detection config
This commit is contained in:
parent
dc62f67454
commit
8d60f5924d
2 changed files with 7 additions and 1 deletions
|
@ -1243,7 +1243,12 @@ Export and then view with emacs :)
|
|||
* EXWM
|
||||
I'm scared
|
||||
#+begin_src emacs-lisp
|
||||
|
||||
(defvar is-exwm nil
|
||||
"Toggle if EXWM is being used")
|
||||
|
||||
(when (eq system-type 'gnu/linux)
|
||||
(if (is-exwm)
|
||||
(use-package exwm
|
||||
:config
|
||||
(set-frame-parameter nil 'alpha '(90 . 90))
|
||||
|
@ -1392,7 +1397,7 @@ I'm scared
|
|||
(desktop-environment-brightness-small-decrement "2%-")
|
||||
(desktop-environment-brightness-normal-increment "5%+")
|
||||
(desktop-environment-brightness-normal-decrement "5%-"))
|
||||
)
|
||||
))
|
||||
#+end_src
|
||||
* End
|
||||
#+begin_src elisp
|
||||
|
|
|
@ -48,6 +48,7 @@ in {
|
|||
# })))
|
||||
# '';
|
||||
extraConfig = pkgs.writeText "emacs-loadscript" ''
|
||||
(setq is-exwm t)
|
||||
(exwm-init)
|
||||
'';
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue