mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-21 18:59:22 +01:00
darkman: don't fork, I have no idea anymore what the point of that was
This commit is contained in:
parent
fcb90ac932
commit
fc93812323
@ -24,9 +24,9 @@ export DARKMANGET="$(darkman get)"
|
||||
printf "Distribution: $DISTROID\nRelease: $DISTROREL\nMode: $DARKMANGET\n"
|
||||
|
||||
if [[ "$DARKMANGET" -eq "dark" ]]; 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
|
||||
(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
|
||||
ERRORMESSAGE="Something went wrong?"
|
||||
echo "$ERRORMESSAGE"
|
||||
|
@ -5,18 +5,18 @@
|
||||
# This is all adapted from /usr/share/doc/darkman/examples/dark-mode.d/
|
||||
|
||||
# GTK Theme
|
||||
(sleep 3 && gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' &)
|
||||
(sleep 1 && gsettings set org.gnome.desktop.interface gtk-theme Breeze &)
|
||||
(sleep 2 && gsettings set org.gnome.desktop.interface gtk-theme Breeze-dark &)
|
||||
(sleep 1 && dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze" &)
|
||||
(sleep 2 && dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze-dark" &)
|
||||
sleep 3 && gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
sleep 1 && gsettings set org.gnome.desktop.interface gtk-theme Breeze
|
||||
sleep 2 && gsettings set org.gnome.desktop.interface gtk-theme Breeze-dark
|
||||
sleep 1 && dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze"
|
||||
sleep 2 && dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.kde.GtkConfig.setGtkTheme "string:Breeze-dark"
|
||||
|
||||
# Xfce theme?
|
||||
(sleep 1 && xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze &)
|
||||
(sleep 2 && xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze-dark &)
|
||||
sleep 1 && xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze
|
||||
sleep 2 && xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze-dark
|
||||
|
||||
# Plasma
|
||||
(lookandfeeltool --apply "org.kde.breezedark.desktop" &)
|
||||
lookandfeeltool --apply "org.kde.breezedark.desktop"
|
||||
|
||||
# Kvantum Qt
|
||||
#(sleep 3 && kvantummanager --set KvGnomeDark --noAssign-All &)
|
||||
#sleep 3 && kvantummanager --set KvGnomeDark --noAssign-All
|
||||
|
@ -5,15 +5,15 @@
|
||||
# This is all adapted from /usr/share/doc/darkman/examples/light-mode.d/
|
||||
|
||||
# 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" &)
|
||||
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"
|
||||
|
||||
# Xfce theme?
|
||||
(xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze &)
|
||||
xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze
|
||||
|
||||
# Plasma
|
||||
(lookandfeeltool --apply "org.kde.breeze.desktop" &)
|
||||
lookandfeeltool --apply "org.kde.breeze.desktop"
|
||||
|
||||
# Kvantum Qt
|
||||
#(sleep 3 && kvantummanager --set KvGnome --noAssign-All &)
|
||||
#sleep 3 && kvantummanager --set KvGnome --noAssign-All
|
||||
|
Loading…
Reference in New Issue
Block a user