diff --git a/+ui.el b/+ui.el index 0274fe6..198a9ce 100644 --- a/+ui.el +++ b/+ui.el @@ -8,7 +8,8 @@ (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"))) + (setq pdf-view-midnight-colors '("#BBC2CF" . "#282C34")) + (add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode)) ;; Customize modeline (setq doom-modeline-major-mode-icon t doom-modeline-buffer-encoding nil)