From 5205786a9f7d361a42f4b2fdb92ce4cbc2ddf3e6 Mon Sep 17 00:00:00 2001 From: jjanzen Date: Wed, 26 Mar 2025 14:04:26 -0500 Subject: [PATCH] system changes --- common/.config/emacs/init.el.org | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org index 17082ac..3d84dba 100644 --- a/common/.config/emacs/init.el.org +++ b/common/.config/emacs/init.el.org @@ -72,7 +72,14 @@ Display the current time in the mode line. :custom (auto-dark-themes '((modus-vivendi) (modus-operandi))) :init - (auto-dark-mode)) + (auto-dark-mode) + :hook + (auto-dark-dark-mode + . (lambda () + (pdf-view-midnight-minor-mode t))) + (auto-dark-light-mode + . (lambda () + (pdf-view-midnight-minor-mode -1)))) #+end_src ** Colours!