From 518413d20d879e5b84c3f6093be3e5fd48e8f9c9 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 13 Jan 2023 21:57:36 +0100 Subject: [PATCH] Disable PDF recoloring by default --- +ui.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/+ui.el b/+ui.el index 9e89dab..14f88d5 100644 --- a/+ui.el +++ b/+ui.el @@ -8,8 +8,7 @@ (setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)) ;; Match pdf-tools colors to the theme and fit to page by default (after! pdf-tools - (setq pdf-view-midnight-colors '("#BBC2CF" . "#282C34")) - (add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode)) + (setq pdf-view-midnight-colors '("#BBC2CF" . "#282C34"))) ;; Customize modeline (setq doom-modeline-major-mode-icon t doom-modeline-buffer-encoding nil)