~~/.doom.d -> ~/.config/doom
This commit is contained in:
14
Doom/.config/doom/modules/private/startup/config.el
Normal file
14
Doom/.config/doom/modules/private/startup/config.el
Normal file
@@ -0,0 +1,14 @@
|
||||
;;; private/startup/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defun +startup/create-scratch-message ()
|
||||
"Generate a string for the scratch buffer"
|
||||
(format "Welcome to Emacs! (。◕‿◕。)
|
||||
Load time was %s
|
||||
Time of startup: %s"
|
||||
(emacs-init-time)
|
||||
(current-time-string (current-time))))
|
||||
|
||||
(add-hook 'doom-first-input-hook
|
||||
#'(lambda ()
|
||||
(setq-default mode-line-format (list "%l:%c %P \t %+%b(" '(:eval (format "%s" major-mode)) ") \t %I \t" vc-mode mode-line-end-spaces))
|
||||
(setq-default initial-scratch-message (+startup/create-scratch-message))))
|
||||
Reference in New Issue
Block a user