AUTO DARKMODE LESGO
This commit is contained in:
@@ -33,12 +33,18 @@
|
||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||
;; `load-theme' function. This is the default:
|
||||
(setq doom-theme 'doom-gruvbox-light)
|
||||
|
||||
;; (setq doom-theme 'doom-gruvbox-light)
|
||||
(setq darkman-themes '(:light doom-gruvbox-light :dark doom-gruvbox))
|
||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||
(setq display-line-numbers-type 'relative)
|
||||
|
||||
(when (daemonp)
|
||||
(add-hook 'server-after-make-frame-hook #'darkman-mode)
|
||||
(advice-add 'darkman-mode
|
||||
:after
|
||||
(lambda ()
|
||||
(remove-hook 'server-after-make-frame-hook
|
||||
#'darkman-mode))))
|
||||
;; If you use `org' and don't want your org files in the default location below,
|
||||
;; change `org-directory'. It must be set before org loads!
|
||||
(setq org-directory "~/org/")
|
||||
|
||||
Reference in New Issue
Block a user