emacs working again
This commit is contained in:
parent
bd71f8d95a
commit
af59d33353
11 changed files with 7 additions and 497 deletions
|
@ -15,32 +15,6 @@
|
|||
|
||||
|
||||
|
||||
;; Toggle between light and dark
|
||||
|
||||
(defun light ()
|
||||
"Activate a light color theme."
|
||||
(interactive)
|
||||
(setq custom-enabled-themes '(modus-operandi))
|
||||
(reapply-themes))
|
||||
|
||||
(defun dark ()
|
||||
"Activate a dark color theme."
|
||||
(interactive)
|
||||
(setq custom-enabled-themes '(modus-vivendi))
|
||||
(reapply-themes))
|
||||
|
||||
|
||||
(when (maybe-require-package 'dimmer)
|
||||
(setq-default dimmer-fraction 0.15)
|
||||
(setq dimmer-buffer-exclusion-regexps '(" \\*\\(LV\\|transient\\)\\*"
|
||||
"^ \\*.*posframe.*buffer.*\\*$"
|
||||
"^\\*Minibuf-[0-9]+\\*"
|
||||
"^.\\*which-key\\*$"
|
||||
"^.\\*Echo.*\\*"))
|
||||
(add-hook 'after-init-hook 'dimmer-mode)
|
||||
(with-eval-after-load 'dimmer
|
||||
(advice-add 'frame-set-background-mode :after (lambda (&rest args) (dimmer-process-all))))
|
||||
)
|
||||
|
||||
(provide 'init-themes)
|
||||
;;; init-themes.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue