Updated EXWM to be run based on environment variables
This commit is contained in:
parent
9b4577ef74
commit
ab2794dd67
@ -940,10 +940,10 @@ When using zsh with powerlevel10k, the ~MesloLGS NF~ font is required to make th
|
|||||||
This is the section to include imports from other files.
|
This is the section to include imports from other files.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Uncomment this to use EXWM. I currently don't use this.
|
;; Load org file contianing EXWM config.
|
||||||
;(let ((exwm-org-file "~/.emacs.d/exwm.org"))
|
(let ((exwm-org-file "~/.emacs.d/exwm.org"))
|
||||||
;(when (file-exists-p exwm-org-file)
|
(when (and (file-exists-p exwm-org-file) (getenv "USING_EXWM"))
|
||||||
; (org-babel-load-file exwm-org-file)))
|
(org-babel-load-file exwm-org-file)))
|
||||||
|
|
||||||
;; Load org file containing custom Elisp functions.
|
;; Load org file containing custom Elisp functions.
|
||||||
(let ((functions-file "~/.emacs.d/functions.org"))
|
(let ((functions-file "~/.emacs.d/functions.org"))
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
export USING_EXWM=t
|
||||||
exec dbus-launch --exit-with-session emacs -mm --debug-init
|
exec dbus-launch --exit-with-session emacs -mm --debug-init
|
||||||
|
Loading…
x
Reference in New Issue
Block a user