From 338e42ce2b0a8d468d6c71c1334113d29e562d47 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Wed, 4 Jan 2023 16:34:47 -0500 Subject: [PATCH] Doom Emacs: Add auto-dark --- doom/.config/doom/+ui.el | 7 +++++++ doom/.config/doom/packages.el | 1 + 2 files changed, 8 insertions(+) diff --git a/doom/.config/doom/+ui.el b/doom/.config/doom/+ui.el index acb716d..d1482f2 100644 --- a/doom/.config/doom/+ui.el +++ b/doom/.config/doom/+ui.el @@ -55,3 +55,10 @@ when this is not the case" ;; https://github.com/iqbalansari/emacs-emojify/issues/100, but keep for ;; simplicity. (setq emojify-download-emojis-p t) + +(use-package auto-dark + :config + (setq auto-dark-allow-osascript t) + (setq auto-dark-dark-theme 'doom-gruvbox) + (setq auto-dark-light-theme 'doom-gruvbox-light) + (auto-dark-mode t)) diff --git a/doom/.config/doom/packages.el b/doom/.config/doom/packages.el index e6cd46c..a94f5e7 100644 --- a/doom/.config/doom/packages.el +++ b/doom/.config/doom/packages.el @@ -66,3 +66,4 @@ (package! wakatime-mode) (package! w3m) (package! edit-server) +(package! auto-dark)