Update readme and add some better customisation variables
This commit is contained in:
parent
8592cb0134
commit
12492937d3
5 changed files with 106 additions and 7 deletions
|
@ -50,14 +50,27 @@
|
|||
:config
|
||||
(add-hook 'dired-mode-hook 'all-the-icons-dired-mode))
|
||||
|
||||
(defcustom theurgy-enable-pdf-tools-windows nil
|
||||
"Whether `pdf-tools' should be enabled on Windows sytems."
|
||||
:type 'boolean
|
||||
:group 'theurgy
|
||||
:group 'theurgy-compat)
|
||||
|
||||
(defcustom theurgy-enable-ready-player-windows nil
|
||||
"Whether `ready-player' should be enabled on Windows sytems."
|
||||
:type 'boolean
|
||||
:group 'theurgy
|
||||
:group 'theurgy-compat)
|
||||
|
||||
;; Multimedia and PDF viewing
|
||||
(when (not (equal system-type 'windows-nt))
|
||||
(when (or (not (equal system-type 'windows-nt)) theurgy-enable-ready-player-windows)
|
||||
(use-package ready-player
|
||||
:ensure t
|
||||
:config
|
||||
(setq ready-player-autoplay nil)
|
||||
(ready-player-mode 1))
|
||||
(ready-player-mode 1)))
|
||||
|
||||
(when (or (not (equal system-type 'windows-nt)) theurgy-enable-pdf-tools-windows)
|
||||
(use-package pdf-tools
|
||||
:config (pdf-loader-install)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue