darkman: experiment of not specifying -dark to Adwaita

This commit is contained in:
Aminda Suomalainen 2024-07-30 11:28:07 +03:00
parent d2a9fcd93a
commit d2a2f3ad67
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 5 additions and 5 deletions

View File

@ -23,9 +23,9 @@ export DARKMANGET="$(darkman get)"
printf "Distribution: $DISTROID\nRelease: $DISTROREL\nMode: $DARKMANGET\n"
if [[ "$DARKMANGET" -eq "dark" ]]; then
if [[ "$DARKMANGET" -eq "light" ]]; then
notify-send --app-name="darkman" --urgency=low --icon=weather-clear-night "Teema: $DARKMANGET"
elif [[ "$DARKMANGET" -eq "light" ]]; then
elif [[ "$DARKMANGET" -eq "dark" ]]; then
notify-send --app-name="darkman" --urgency=low --icon=weather-clear "Teema: $DARKMANGET"
else
ERRORMESSAGE="Something went wrong?"

View File

@ -6,11 +6,11 @@
# GTK Theme
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark
dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Adwaita-dark"
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Adwaita"
# Xfce theme?e
xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Adwaita-dark
xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Adwaita
# Plasma
lookandfeeltool --platform offscreen --apply "org.kde.breezedark.desktop"