Add doc-view customisations to increase resolution
Use modus-theme built in load function to ensure other themes are disabled
This commit is contained in:
parent
b66253606a
commit
de9c33f504
|
@ -138,7 +138,8 @@
|
||||||
;; Theme
|
;; Theme
|
||||||
(use-package modus-themes
|
(use-package modus-themes
|
||||||
:ensure t
|
:ensure t
|
||||||
:config (load-theme 'modus-vivendi-tinted :noconfirm))
|
:custom (modus-themes-disable-other-themes t)
|
||||||
|
:config (modus-themes-load-theme 'modus-vivendi-tinted))
|
||||||
|
|
||||||
;; Nerd-Icons modes
|
;; Nerd-Icons modes
|
||||||
(use-package nerd-icons
|
(use-package nerd-icons
|
||||||
|
@ -895,6 +896,16 @@
|
||||||
(emms-mpris-enable)
|
(emms-mpris-enable)
|
||||||
(add-hook 'emms-player-started-hook #'emms-show))
|
(add-hook 'emms-player-started-hook #'emms-show))
|
||||||
|
|
||||||
|
(use-package doc-view
|
||||||
|
:defer t
|
||||||
|
:ensure t
|
||||||
|
:custom
|
||||||
|
(doc-view-resolution 200)
|
||||||
|
(doc-view-continuous t)
|
||||||
|
(doc-view-imenu-enabled t)
|
||||||
|
(doc-view-scale-internally t)
|
||||||
|
(doc-view-image-width 850))
|
||||||
|
|
||||||
;;; Whitespace
|
;;; Whitespace
|
||||||
(defun crafted-writing-configure-whitespace (use-tabs &optional use-globally &rest enabled-modes)
|
(defun crafted-writing-configure-whitespace (use-tabs &optional use-globally &rest enabled-modes)
|
||||||
"Helper function to configure `whitespace' mode.
|
"Helper function to configure `whitespace' mode.
|
||||||
|
|
|
@ -171,7 +171,8 @@
|
||||||
;; Theme
|
;; Theme
|
||||||
(use-package modus-themes
|
(use-package modus-themes
|
||||||
:ensure t
|
:ensure t
|
||||||
:config (load-theme 'modus-vivendi-tinted :noconfirm))
|
:custom (modus-themes-disable-other-themes t)
|
||||||
|
:config (modus-themes-load-theme 'modus-vivendi-tinted))
|
||||||
|
|
||||||
;; Nerd-Icons modes
|
;; Nerd-Icons modes
|
||||||
(use-package nerd-icons
|
(use-package nerd-icons
|
||||||
|
@ -1038,7 +1039,22 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
|
||||||
(add-hook 'emms-player-started-hook #'emms-show))
|
(add-hook 'emms-player-started-hook #'emms-show))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* TODO Writing
|
* Writing
|
||||||
|
|
||||||
|
** Doc-view
|
||||||
|
#+begin_src emacs-lisp :tangle yes
|
||||||
|
(use-package doc-view
|
||||||
|
:defer t
|
||||||
|
:ensure t
|
||||||
|
:custom
|
||||||
|
(doc-view-resolution 200)
|
||||||
|
(doc-view-continuous t)
|
||||||
|
(doc-view-imenu-enabled t)
|
||||||
|
(doc-view-scale-internally t)
|
||||||
|
(doc-view-image-width 850))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** TODO Crafted Config
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;;; Whitespace
|
;;; Whitespace
|
||||||
(defun crafted-writing-configure-whitespace (use-tabs &optional use-globally &rest enabled-modes)
|
(defun crafted-writing-configure-whitespace (use-tabs &optional use-globally &rest enabled-modes)
|
||||||
|
|
Loading…
Reference in a new issue