From 498ac6e7e9a2cda0f0a7e8dcc4cb69fec33a37b8 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Mon, 6 Nov 2023 02:49:32 -0500 Subject: Dim inactive buffers --- init.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index fced0da..7fb4a6e 100644 --- a/init.el +++ b/init.el @@ -396,6 +396,24 @@ (set-face-attribute 'hl-line nil :background "#111") +;; --------------------------------- +;; ADHD Accessibility +;; ------------------ +;; I have ADHD, real bad. All this +;; *shit* going on in Emacs can be +;; detrimental to my attention. +;; +;; Make it easier to focus... +;; --------------------------------- + +(use-package auto-dim-other-buffers + :straight t + :config (setq auto-dim-other-buffers-dim-on-focus-out t + auto-dim-other-buffers-dim-on-switch-to-minibuffer t)) +(set-face-attribute 'auto-dim-other-buffers-face nil :background "#000") +(set-face-attribute 'auto-dim-other-buffers-hide-face nil :background "#000" :foreground "#000") + + ;; --------------------------------- ;; Hide text for privacy ;; --------------------- -- cgit v1.2.3