summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-02-28 21:54:36 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-02-28 21:54:36 +0100
commit60f2dba554a15400ed541c39dae4154111b3f4c6 (patch)
tree0ca71f6dffa3704a430d9aa69825977526219ad7
parent55f989d8583281ea79f4e3ded7a695990c182b75 (diff)
Update dimmer.
-rw-r--r--init.org6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.org b/init.org
index 1f12aed..7600432 100644
--- a/init.org
+++ b/init.org
@@ -328,12 +328,11 @@ Dim windows that are not active.
#+begin_src elisp
(use-package dimmer
- :ensure
- :defer
+ :after modus-themes
:init
(setq dimmer-watch-frame-focus-events nil)
(setq dimmer-use-colorspace :rgb)
- (setq dimmer-fraction 0.1)
+ (setq dimmer-fraction 0.2)
(setq dimmer-adjustment-mode :foreground)
(defun advise-dimmer-config-change-handler ()
@@ -374,6 +373,7 @@ Dim windows that are not active.
(advice-add
'dimmer-config-change-handler
:override 'advise-dimmer-config-change-handler)
+ (update-dimmer-style)
(dimmer-configure-corfu)
(dimmer-mode t))
#+end_src