compiz/compiz-decorator-gtk
2013-06-03 15:00:25 +02:00

19 lines
349 B
Bash
Executable File

#!/bin/bash
compiz=`ps ax | grep 'compiz --replace' | grep -v 'grep' | awk '{print $5}'`
theme=`gsettings get org.mate.Marco.general theme | cut -d\' -f2`
if [ "$compiz" = "compiz" ] ; then
gtk-window-decorator --replace --marco-theme "$theme" &
echo "$compiz with GTK windows-decorator"
echo "GTK theme is $theme"
else
exit 0
fi
exit 0