2024-07-19 20:59:09 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# This is all adapted from /usr/share/doc/darkman/examples/light-mode.d/
|
|
|
|
|
|
|
|
# Notify of light theme switch
|
|
|
|
(notify-send --app-name="darkman" --urgency=low --icon=weather-clear "Let there be light" &)
|
|
|
|
|
|
|
|
# GTK Theme
|
2024-07-20 06:08:18 +02:00
|
|
|
(gsettings set org.gnome.desktop.interface color-scheme 'prefer-light' &)
|
2024-07-19 20:59:09 +02:00
|
|
|
(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" &)
|
|
|
|
|
|
|
|
# Xfce theme?
|
|
|
|
(exec xfconf-query -c xsettings -p /Net/ThemeName -s 'Breeze' &)
|
|
|
|
|
|
|
|
# Plasma
|
|
|
|
(lookandfeeltool --apply "org.kde.breeze.desktop" &)
|