summaryrefslogtreecommitdiffstats
path: root/.config/emacs/init.el
blob: 65a8683e6413dc2f55a620c0691297caf4fb0a96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; Dotfiles --- Jakub Dlugosz emacs config
;;; Commentary:

;;; Code:

(defvar jd/exwmp (not (null (getenv "JD_EXWM")))
  "Return non-nil if Emacs is run as a window manager.")

(let ((jd-emacs-init (concat user-emacs-directory
			     "jd-emacs/jd-emacs-init.el"))
      (jd-exwm-init (concat user-emacs-directory
			    "jd-exwm/init.el")))
  (load jd-emacs-init)
  (when jd/exwmp
    (load jd-exwm-init)))

;;; init.el ends here