I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

50 lines
1.4 KiB

(defvar dotfiles/browser
(getenv "BROWSER")
"The default browser used by the system.")
(defconst dotfiles/modules-available
'(core desktop writing projects interface)
"All of the available modules for hosts to load.")
(defvar dotfiles/modules
dotfiles/modules-available
"Enabled modules, modify this in your host configuration.")
(defvar dotfiles/home
user-emacs-directory
"Original value of `user-emacs-directory'.")
(defvar dotfiles/cache
(expand-file-name "~/.cache/emacs")
"Where `user-emacs-directory' will be redirected.")
(defvar dotfiles/idle
0.0
"Length of time to wait before offering completions.")
(defvar dotfiles/leader-key
"SPC"
"Custom leader key for custom actions.")
(defvar dotfiles/leader-key-global
(concat "C-" dotfiles/leader-key)
"Global leader key available everywhere.")
(defvar dotfiles/projects
(expand-file-name "~/.local/source/")
"Location where source code projects are stored.")
(defvar dotfiles/passwords
(expand-file-name "~/.password-store/")
"Directory containing the password store.")
;; Load the host configuration.
(let ((host-file (concat user-emacs-directory "/hosts/" system-name ".el")))
(when (file-exists-p host-file)
(load-file host-file)))
;; Load the enabled modules.
(dolist (m dotfiles/modules)
(let ((mod-file (concat dotfiles/home "/modules/" (symbol-name m) ".el")))
(when (file-exists-p mod-file)
(load-file mod-file))))