Add diminish and some lighters

This commit is contained in:
eriedaberrie 2025-02-10 14:43:43 +00:00
parent 9a48217243
commit b69b5c564a

55
init.el
View file

@ -39,6 +39,25 @@
(use-package f (use-package f
:demand t) :demand t)
(use-package diminish)
(use-package moody
:demand t
:config
(moody-replace-mode-line-front-space)
(moody-replace-mode-line-buffer-identification)
(moody-replace-vc-mode)
(with-eval-after-load 'eldoc
(moody-replace-eldoc-minibuffer-message-function))
;; Prevent weird colors in the ribbons on solaire buffers at the cost of
;; everything looking the same (worth it IMO)
(with-eval-after-load 'solaire-mode
(face-spec-set 'mode-line `((t (:background ,(catppuccin-get-color 'crust)))))
;; NOTE: Technically this line is unnnecessary because of the previous but
;; I'll keep it here in case it ever becomes relevant
(dolist (face '(mode-line mode-line-active mode-line-inactive))
(setf (alist-get face solaire-mode-remap-alist) nil))))
(use-package undo-fu (use-package undo-fu
:demand t :demand t
:config :config
@ -71,6 +90,7 @@
(god-mode-alist '((nil . "C-") (god-mode-alist '((nil . "C-")
("g" . "M-") ("g" . "M-")
("m" . "C-M-"))) ("m" . "C-M-")))
(god-mode-lighter-string nil)
:config :config
(defun my--god-c-q () (defun my--god-c-q ()
(interactive) (interactive)
@ -170,6 +190,7 @@
(use-package goggles (use-package goggles
:hook prog-mode :hook prog-mode
:diminish " O-O"
:config :config
(setq-default goggles-pulse t) (setq-default goggles-pulse t)
(with-eval-after-load 'catppuccin-theme (with-eval-after-load 'catppuccin-theme
@ -177,8 +198,7 @@
(dolist (f '(goggles-added (dolist (f '(goggles-added
goggles-removed goggles-removed
goggles-changed)) goggles-changed))
(face-spec-set f new-spec)))) (face-spec-set f new-spec)))))
(setcar (cdr (assq 'goggles-mode minor-mode-alist)) " O-O"))
(defun my--set-tab-width-2 () (defun my--set-tab-width-2 ()
(setq tab-width 2)) (setq tab-width 2))
@ -217,8 +237,8 @@
(use-package dtrt-indent (use-package dtrt-indent
:demand t :demand t
:diminish " dtrt"
:config :config
(setcar (cdr (assq 'dtrt-indent-mode minor-mode-alist)) " dtrt")
(dtrt-indent-global-mode)) (dtrt-indent-global-mode))
(use-package aggressive-indent (use-package aggressive-indent
@ -240,6 +260,7 @@
:custom :custom
(highlight-indent-guides-auto-enabled nil) (highlight-indent-guides-auto-enabled nil)
(highlight-indent-guides-method 'character) (highlight-indent-guides-method 'character)
:diminish
:config :config
(defun my-maybe-highlight-indent-guides () (defun my-maybe-highlight-indent-guides ()
(interactive) (interactive)
@ -250,6 +271,7 @@
:demand t :demand t
:custom :custom
(which-key-idle-delay 0.2) (which-key-idle-delay 0.2)
:diminish
:config :config
(with-eval-after-load 'god-mode (with-eval-after-load 'god-mode
(which-key-enable-god-mode-support)) (which-key-enable-god-mode-support))
@ -413,23 +435,6 @@
:config :config
(treemacs-load-theme 'all-the-icons)) (treemacs-load-theme 'all-the-icons))
(use-package moody
:demand t
:config
(moody-replace-mode-line-front-space)
(moody-replace-mode-line-buffer-identification)
(moody-replace-vc-mode)
(with-eval-after-load 'eldoc
(moody-replace-eldoc-minibuffer-message-function))
;; Prevent weird colors in the ribbons on solaire buffers at the cost of
;; everything looking the same (worth it IMO)
(with-eval-after-load 'solaire-mode
(face-spec-set 'mode-line `((t (:background ,(catppuccin-get-color 'crust)))))
;; NOTE: Technically this line is unnnecessary because of the previous but
;; I'll keep it here in case it ever becomes relevant
(dolist (face '(mode-line mode-line-active mode-line-inactive))
(setf (alist-get face solaire-mode-remap-alist) nil))))
(use-package dirvish (use-package dirvish
:after dired :after dired
:demand t :demand t
@ -648,13 +653,17 @@ This function is called by `org-babel-execute-src-block'."
(use-package editorconfig (use-package editorconfig
:demand t :demand t
:diminish " EdConf"
:config :config
(editorconfig-mode) (editorconfig-mode))
(setcar (cdr (assq 'editorconfig-mode minor-mode-alist)) " EdConf"))
(use-package envrc (use-package envrc
:bind ("C-c v" . envrc-command-map) :bind ("C-c v" . envrc-command-map)
:hook (after-init . envrc-global-mode)) :hook (after-init . envrc-global-mode)
:custom
(envrc-none-lighter nil)
(envrc-on-lighter '(" envrc"))
(envrc-error-lighter '(" envrc[" (:propertize "!" face envrc-mode-line-error-face)) "]"))
(use-package sly (use-package sly
:custom :custom