OBS-URL: https://build.opensuse.org/package/show/X11:Compiz/compiz-manager?expand=0&rev=72
24 lines
759 B
Diff
24 lines
759 B
Diff
--- a/compiz-manager
|
|
+++ b/compiz-manager
|
|
@@ -63,9 +63,19 @@ fi
|
|
FALLBACKWM_OPTIONS="--replace $@"
|
|
|
|
COMPIZ_OPTIONS="--ignore-desktop-hints --replace"
|
|
-COMPIZ_PLUGINS=""
|
|
+# Those are bare minimum plugins. anything else might want to be enabled / disabled by users.
|
|
+COMPIZ_PLUGINS="core ccp decoration move resize"
|
|
ENV=""
|
|
|
|
+#If the user does not yet have a populated Default.ini, we'll drop a default in his config directory.
|
|
+if [ -z "$XDG_CONFIG_HOME" ]; then
|
|
+ XDG_CONFIG_HOME="$HOME/.config"
|
|
+fi
|
|
+
|
|
+if [ ! -s "$XDG_CONFIG_HOME/compiz/compizconfig-1/Default.ini" ]; then
|
|
+ install -Dm 0644 "/usr/share/compiz-manager/config.skel" "$XDG_CONFIG_HOME/compiz/compizconfig-1/Default.ini"
|
|
+fi
|
|
+
|
|
# Allow forcing Emerald.
|
|
USE_EMERALD="${USE_EMERALD:-no}"
|
|
|