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