aboutsummaryrefslogtreecommitdiff
path: root/.config/doom
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-11 10:35:36 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-11 10:35:36 +0100
commit0e472dffe93a4494fa4e8f9c0b709dc845ea5022 (patch)
treefa5856bcfc1c879a6fa89cfde35c8aa31df603bc /.config/doom
parent6025777c60971cfa8bde2edf10948c7c182cd742 (diff)
downloaddotfiles-0e472dffe93a4494fa4e8f9c0b709dc845ea5022.tar.gz
dotfiles-0e472dffe93a4494fa4e8f9c0b709dc845ea5022.zip
doom: Disable doom from :ui
We don't actually need to load this module, since we are not using doom-themes nor anything like that. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.config/doom')
-rw-r--r--.config/doom/config.el24
-rw-r--r--.config/doom/custom.el2
-rw-r--r--.config/doom/init.el2
3 files changed, 13 insertions, 15 deletions
diff --git a/.config/doom/config.el b/.config/doom/config.el
index ab13b65..449754b 100644
--- a/.config/doom/config.el
+++ b/.config/doom/config.el
@@ -31,12 +31,11 @@
(abbreviate-file-name (buffer-file-name))
"%b"))))))
-;; Color theme: try to use my own theme called `soria', otherwise let's go for
-;; Doom's default one (`doom-one'). There are two paths where the `soria' theme
-;; might reside. The first path we are going to try is my local dev environment,
-;; otherwise we will try the global installation path (as pointed out on the
-;; documentation of the RPM package). If none of this worked, then just go with
-;; doom's default theme.
+;; Color theme: try to use my own theme called `soria'. There are two paths
+;; where the `soria' theme might reside. The first path we are going to try is
+;; my local dev environment, otherwise we will try the global installation path
+;; (as pointed out on the documentation of the RPM package). If none of this
+;; worked, then just go with doom's default theme.
(let ((dev-dir (concat (getenv "HOME") "/src/github.com/mssola/soria"))
(global-dir "/usr/share/emacs/site-lisp/themes"))
(if (file-exists-p dev-dir)
@@ -46,13 +45,12 @@
;; If soria could be loaded as a theme, let's set the
;; `soria-theme-purple-identifiers' hook for the relevant modes.
- (if (load-theme 'soria t)
- (dolist (lang-hook '(ruby-mode-hook
- php-mode-hook
- perl-mode-hook
- emacs-lisp-mode-hook))
- (add-hook lang-hook 'soria-theme-purple-identifiers))
- (setq doom-theme 'doom-one)))
+ (when (load-theme 'soria t)
+ (dolist (lang-hook '(ruby-mode-hook
+ php-mode-hook
+ perl-mode-hook
+ emacs-lisp-mode-hook))
+ (add-hook lang-hook 'soria-theme-purple-identifiers))))
(defun mssola/face-at-point (pos)
"Writes a message with the name of the face at the current
diff --git a/.config/doom/custom.el b/.config/doom/custom.el
index 63f8476..fc8a483 100644
--- a/.config/doom/custom.el
+++ b/.config/doom/custom.el
@@ -6,7 +6,7 @@
'(ansi-color-names-vector
["#1c1c1c" "#d78787" "#b9dc92" "#ffffaf" "#87afd7" "#875f87" "#dfafdf" "#d0d0d0"])
'(custom-safe-themes
- '("87adaa6ee5799b9116c2bbdcf2109efe44d9102d23ebc0ec1c3d75b95ffa50b5" "2141e193a63c28589147d562384d6b3f3728e78ea94af5e4834cad91359cdf6a" "4e7e1be316e5095960f5dd27402a81f6d69e0ba380355ad5215797efb5466eea" "27982b03b7d049912b600301e50637882ec095f384124180a21772ec8da5f7e8" "6395777d3007cd6d3e613812d493ab9d09aa68f17d3dbf3935bfa1672279281e" "169e5b085078237c277753e3bd83e40a398e5eef98d922eb9b92fc3dbce9046d" "568969c0ed1874dc4ae94c2792eda17f10a40562ccb531c528a112f65889af75" "6c929cd6a199700c871ef92ad47ba20accd00810fc92e8343448da67dcde0898" "840588bd742f27724df70209930633b83567026a7290b2f4105939a6eabbb4cf" "806f76b435a02f1016a5b76a6aa8f9304d7c51f98f85ebd13f33f1b148227b7f" "8185f8e6c2d6a29da892e13e33d666cc26303a9639a8582c8035fbf0987c5f20" "9c538f4387a7db52b13fa988f93bd337ab13ead7c8fdb5fed29833d7d7e0f27c" "232b0c9752006e63d3bf8b5329bda6f3592e4ac1bdf96b17879bb076f16ea82c" "45847e51cdf4bcacfd2093d48be8c727da9837830911999b2d2b31ffa27de90b" "7938d6870d8bbf41504f1338ebb3b590eaacfb201327fb9389454b08abcef0df" "21f0483411dee48b338960db918d82630516a3d726f9432f8ae8c0b8554df25f" "d300a3efcf6b385537e11bd588d08aed850ce239b66ff37ee57a7f20f1b05e47" "f2d128f0ca6290df5c608a9e3e564bbe3ee2f22b61dc1409cdf5e3c200337e7d" "f42263201f447f8c15e57474a95d26500b7e6f932e3d75a3604802a6c9a9f18f" "af2817482b04be9d60ac90ad89e386dd076b9338f135d576ef9bd357e01f64ca" "053a91acd65e7592ec1f1451f81554da96f26781858f961db65c9f1be7c6ffe0" "d55733f0ab2ab8031b3206e900f3729deed13acc6d56cf09a171ae8e26cb7181" default))
+ '("3334ff826da9dc6fd75b87f9b7759956fabf2d1ff898c6cddf1306ad0540d4a0" "87adaa6ee5799b9116c2bbdcf2109efe44d9102d23ebc0ec1c3d75b95ffa50b5" "2141e193a63c28589147d562384d6b3f3728e78ea94af5e4834cad91359cdf6a" "4e7e1be316e5095960f5dd27402a81f6d69e0ba380355ad5215797efb5466eea" "27982b03b7d049912b600301e50637882ec095f384124180a21772ec8da5f7e8" "6395777d3007cd6d3e613812d493ab9d09aa68f17d3dbf3935bfa1672279281e" "169e5b085078237c277753e3bd83e40a398e5eef98d922eb9b92fc3dbce9046d" "568969c0ed1874dc4ae94c2792eda17f10a40562ccb531c528a112f65889af75" "6c929cd6a199700c871ef92ad47ba20accd00810fc92e8343448da67dcde0898" "840588bd742f27724df70209930633b83567026a7290b2f4105939a6eabbb4cf" "806f76b435a02f1016a5b76a6aa8f9304d7c51f98f85ebd13f33f1b148227b7f" "8185f8e6c2d6a29da892e13e33d666cc26303a9639a8582c8035fbf0987c5f20" "9c538f4387a7db52b13fa988f93bd337ab13ead7c8fdb5fed29833d7d7e0f27c" "232b0c9752006e63d3bf8b5329bda6f3592e4ac1bdf96b17879bb076f16ea82c" "45847e51cdf4bcacfd2093d48be8c727da9837830911999b2d2b31ffa27de90b" "7938d6870d8bbf41504f1338ebb3b590eaacfb201327fb9389454b08abcef0df" "21f0483411dee48b338960db918d82630516a3d726f9432f8ae8c0b8554df25f" "d300a3efcf6b385537e11bd588d08aed850ce239b66ff37ee57a7f20f1b05e47" "f2d128f0ca6290df5c608a9e3e564bbe3ee2f22b61dc1409cdf5e3c200337e7d" "f42263201f447f8c15e57474a95d26500b7e6f932e3d75a3604802a6c9a9f18f" "af2817482b04be9d60ac90ad89e386dd076b9338f135d576ef9bd357e01f64ca" "053a91acd65e7592ec1f1451f81554da96f26781858f961db65c9f1be7c6ffe0" "d55733f0ab2ab8031b3206e900f3729deed13acc6d56cf09a171ae8e26cb7181" default))
'(delete-selection-mode nil)
'(magit-todos-insert-after '(bottom) nil nil "Changed by setter of obsolete option `magit-todos-insert-at'")
'(safe-local-variable-values '((eval apheleia-mode nil) (+format-inhibit . t)))
diff --git a/.config/doom/init.el b/.config/doom/init.el
index bf9c41d..5370166 100644
--- a/.config/doom/init.el
+++ b/.config/doom/init.el
@@ -14,7 +14,7 @@
:ui
;;deft ; notational velocity for Emacs
- doom ; what makes DOOM look the way it does
+ ;;doom ; what makes DOOM look the way it does
;;doom-dashboard ; a nifty splash screen for Emacs
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
;;(emoji +unicode) ; 🙂