From 7624918bda8f4b870df1c00e05cda9de59c449bc Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 20 Jul 2024 07:08:18 +0300 Subject: [PATCH] darkman: add gtk prefers dark/light --- local/share/dark-mode.d/10-breezedark.bash | 1 + local/share/light-mode.d/10-breeze.bash | 1 + 2 files changed, 2 insertions(+) diff --git a/local/share/dark-mode.d/10-breezedark.bash b/local/share/dark-mode.d/10-breezedark.bash index 568ddf33..cdd5e7a8 100755 --- a/local/share/dark-mode.d/10-breezedark.bash +++ b/local/share/dark-mode.d/10-breezedark.bash @@ -6,6 +6,7 @@ (notify-send --app-name="darkman" --urgency=low --icon=moon-phase-full "Moonlights" &) # GTK Theme +(gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' &) (gsettings set org.gnome.desktop.interface gtk-theme Breeze-Dark &) (dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze" &) diff --git a/local/share/light-mode.d/10-breeze.bash b/local/share/light-mode.d/10-breeze.bash index 2a3d8fa9..711de822 100755 --- a/local/share/light-mode.d/10-breeze.bash +++ b/local/share/light-mode.d/10-breeze.bash @@ -6,6 +6,7 @@ (notify-send --app-name="darkman" --urgency=low --icon=weather-clear "Let there be light" &) # GTK Theme +(gsettings set org.gnome.desktop.interface color-scheme 'prefer-light' &) (gsettings set org.gnome.desktop.interface gtk-theme Breeze &) (dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze" &)