diff options
Diffstat (limited to 'compiz-manjaro-xfce-decoratortheme')
-rwxr-xr-x | compiz-manjaro-xfce-decoratortheme | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/compiz-manjaro-xfce-decoratortheme b/compiz-manjaro-xfce-decoratortheme new file mode 100755 index 000000000000..a16a84ebe6a9 --- /dev/null +++ b/compiz-manjaro-xfce-decoratortheme @@ -0,0 +1,14 @@ +#!/bin/bash +gsettings reset org.gnome.desktop.wm.preferences theme + +if [ -f /usr/bin/xfconf-query ] && [ "$(xfconf-query -c xsettings -p /Net/ThemeName)" == "Menda" ]; then + gsettings set org.gnome.metacity theme "Menda" +elif [ -f /usr/bin/xfconf-query ] && [ "$(xfconf-query -c xsettings -p /Net/ThemeName)" == "Vertex-Maia-Square" ]; then + gsettings set org.gnome.metacity theme "Vertex-Maia-Square" + +fi + +mkdir -p ~/.config/autostart +rm ~/.config/autostart/compiz-manjaro-xfce-decoratortheme.desktop +cp /etc/xdg/autostart/compiz-manjaro-xfce-decoratortheme.desktop ~/.config/autostart/ +sed -i 's|Hidden=false|Hidden=true|' ~/.config/autostart/compiz-manjaro-xfce-decoratortheme.desktop |