darkman: specify platform offscreen for KDE

This commit is contained in:
Aminda Suomalainen 2024-07-29 18:43:07 +03:00
parent f289f9cc7a
commit 6e6af927d2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.k
xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Adwaita-dark
# Plasma
lookandfeeltool --apply "org.kde.breezedark.desktop"
lookandfeeltool --platform offscreen --apply "org.kde.breezedark.desktop"
# Kvantum Qt
#kvantummanager --set KvGnomeDark --noAssign-All

View File

@ -3,5 +3,5 @@
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.bash
if [[ "$DISTROID" == "Kali" ]]; then
lookandfeeltool --apply "Kali-Purple-Dark"
lookandfeeltool --platform offscreen --apply "Kali-Purple-Dark"
fi

View File

@ -13,7 +13,7 @@ dbus-send --session --dest=org.kde.GtkConfig --type=method_call /GtkConfig org.k
xfconf-query --channel xsettings --create --type string --property /Net/ThemeName --set Breeze
# Plasma
lookandfeeltool --apply "org.kde.breeze.desktop"
lookandfeeltool --platform offscreen --apply "org.kde.breeze.desktop"
# Kvantum Qt
#sleep 3 && kvantummanager --set KvGnome --noAssign-All

View File

@ -3,7 +3,7 @@
. ~/.local/share/dark-mode.d/00-do-not-repeat-yourself.bash
if [[ "$DISTROID" == "Kali" ]]; then
lookandfeeltool --apply "Kali-Purple-Light"
lookandfeeltool --platform offscreen --apply "Kali-Purple-Light"
elif [[ "$DISTROID" == "Fedora" ]]; then
lookandfeeltool --apply "org.fedoraproject.fedora.desktop"
lookandfeeltool --platform offscreen --apply "org.fedoraproject.fedora.desktop"
fi