Code: Select all
#!/bin/bash
CURRENT_THEME=`xfconf-query -c xsettings -p /Net/ThemeName`
if [ x"$CURRENT_THEME" == x"Salix-dark" ]; then
xfconf-query -c xsettings -p /Net/ThemeName -s "Salix"
xfconf-query -c xsettings -p /Net/IconThemeName -s "Qogir"
xfconf-query -c xsettings -p /Gtk/CursorThemeName -s "Qogir"
else
xfconf-query -c xsettings -p /Net/ThemeName -s "Salix-dark"
xfconf-query -c xsettings -p /Net/IconThemeName -s "Qogir-dark"
xfconf-query -c xsettings -p /Gtk/CursorThemeName -s "Qogir-dark"
fi
I remember I had tried that before releasing 15.0, but it had some issues in Xfce 4.16, some things needed a log out/log in to refresh. I just tried it again in Xfce 4.18 and it seems to work fine. I think.
So, should I add something like that to our default installation? Probably with a proper menu entry and maybe some basic GUI on top.