mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
darkman: experiment of not specifying -dark to Adwaita
This commit is contained in:
parent
d2a9fcd93a
commit
d2a2f3ad67
@ -23,9 +23,9 @@ export DARKMANGET="$(darkman get)"
|
|||||||
|
|
||||||
printf "Distribution: $DISTROID\nRelease: $DISTROREL\nMode: $DARKMANGET\n"
|
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"
|
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"
|
notify-send --app-name="darkman" --urgency=low --icon=weather-clear "Teema: $DARKMANGET"
|
||||||
else
|
else
|
||||||
ERRORMESSAGE="Something went wrong?"
|
ERRORMESSAGE="Something went wrong?"
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
# GTK Theme
|
# GTK Theme
|
||||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme 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-dark"
|
dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Adwaita"
|
||||||
|
|
||||||
# Xfce theme?e
|
# 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
|
# Plasma
|
||||||
lookandfeeltool --platform offscreen --apply "org.kde.breezedark.desktop"
|
lookandfeeltool --platform offscreen --apply "org.kde.breezedark.desktop"
|
||||||
|
Loading…
Reference in New Issue
Block a user