Add startup notification

Add better pdftools and ready player toggle
Add org-roam toggle based on directory location
Add paradox modding support
This commit is contained in:
Jakub 2025-11-14 12:03:45 +08:00
parent 5475803398
commit b8e9d592aa
4 changed files with 139 additions and 100 deletions

View file

@ -51,27 +51,27 @@
:config
(add-hook 'dired-mode-hook 'all-the-icons-dired-mode))
(defcustom theurgy-enable-pdf-tools-windows nil
(defcustom theurgy-enable-pdf-tools (equal system-type 'gnu/linux)
"Whether `pdf-tools' should be enabled on Windows sytems."
:type 'boolean
:group 'theurgy
:group 'theurgy-compat)
(defcustom theurgy-enable-ready-player-windows nil
(defcustom theurgy-enable-ready-player (equal system-type 'gnu/linux)
"Whether `ready-player' should be enabled on Windows sytems."
:type 'boolean
:group 'theurgy
:group 'theurgy-compat)
;; Multimedia and PDF viewing
(when (or (equal system-type 'gnu/linux) theurgy-enable-ready-player-windows)
(when theurgy-enable-ready-player-windows
(use-package ready-player
:ensure t
:config
(setq ready-player-autoplay nil)
(ready-player-mode 1)))
(when (or (equal system-type 'gnu/linux) theurgy-enable-pdf-tools-windows)
(when theurgy-enable-pdf-tools-windows
(use-package pdf-tools
:config (pdf-loader-install)))