Use new catppuccin functions in goggles, add to default-frame-alist
This commit is contained in:
parent
a6e5448334
commit
600a38f4b7
|
@ -16,7 +16,10 @@
|
||||||
|
|
||||||
;; Set frame parameters early
|
;; Set frame parameters early
|
||||||
(setq default-frame-alist '((font . "JetbrainsMono Nerd Font-10.5")
|
(setq default-frame-alist '((font . "JetbrainsMono Nerd Font-10.5")
|
||||||
(alpha-background . 0.94)))
|
(alpha-background . 0.94)
|
||||||
|
(tool-bar-lines . 0)
|
||||||
|
(menu-bar-lines . 0)
|
||||||
|
(vertical-scroll-bars . nil)))
|
||||||
|
|
||||||
;; Annoyoing comp errors
|
;; Annoyoing comp errors
|
||||||
(setq native-comp-async-report-warnings-errors 'silent)
|
(setq native-comp-async-report-warnings-errors 'silent)
|
||||||
|
|
10
init.el
10
init.el
|
@ -148,12 +148,12 @@
|
||||||
|
|
||||||
(use-package goggles
|
(use-package goggles
|
||||||
:hook ((prog-mode text-mode) . goggles-mode)
|
:hook ((prog-mode text-mode) . goggles-mode)
|
||||||
:custom-face
|
|
||||||
(goggles-added ((t (:background "#a6da95")))) ; green
|
|
||||||
(goggles-removed ((t (:background "#ed8796")))) ; red
|
|
||||||
(goggles-changed ((t (:background "#8aadf4")))) ; blue
|
|
||||||
:config
|
:config
|
||||||
(setq-default goggles-pulse t))
|
(setq-default goggles-pulse t)
|
||||||
|
(with-eval-after-load 'catppuccin-theme
|
||||||
|
(face-spec-set 'goggles-added `((t (:background ,(catppuccin-get-color 'green)))))
|
||||||
|
(face-spec-set 'goggles-removed `((t (:background ,(catppuccin-get-color 'red)))))
|
||||||
|
(face-spec-set 'goggles-changed `((t (:background ,(catppuccin-get-color 'blue)))))))
|
||||||
|
|
||||||
(use-package treesit
|
(use-package treesit
|
||||||
:ensure nil
|
:ensure nil
|
||||||
|
|
Loading…
Reference in a new issue