wok-current rev 15961

compton: dont use config file by default
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 24 01:10:34 2014 +0100 (2014-02-24)
parents 59d81c202ae9
children a3d907c461f2
files compton/receipt compton/stuff/autostart/compton.desktop compton/stuff/compton.conf compton/stuff/compton.desktop
line diff
     1.1 --- a/compton/receipt	Mon Feb 24 01:10:12 2014 +0100
     1.2 +++ b/compton/receipt	Mon Feb 24 01:10:34 2014 +0100
     1.3 @@ -29,6 +29,6 @@
     1.4  {
     1.5  	mkdir -p $fs/etc/xdg/compton $fs/usr/bin
     1.6  	cp $src/compton $fs/usr/bin
     1.7 -	cp $stuff/compton.conf $fs/etc/xdg/compton
     1.8 +	cp $src/compton.sample.conf $fs/etc/xdg/compton/compton.conf
     1.9  	cp -r $stuff/autostart $fs/etc/xdg
    1.10  }
     2.1 --- a/compton/stuff/autostart/compton.desktop	Mon Feb 24 01:10:12 2014 +0100
     2.2 +++ b/compton/stuff/autostart/compton.desktop	Mon Feb 24 01:10:34 2014 +0100
     2.3 @@ -2,5 +2,5 @@
     2.4  Type=Application
     2.5  Name=Desktop effects with Compton
     2.6  Name[fr]=Effects de bureau avec Compton
     2.7 -Exec=compton --config /etc/xdg/compton/compton.conf
     2.8 +Exec=compton -Cc -i -r 10 -o 0.5
     2.9  NotShowIn=LXDE;XFCE;Razor;
     3.1 --- a/compton/stuff/compton.conf	Mon Feb 24 01:10:12 2014 +0100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,79 +0,0 @@
     3.4 -# SliTaz Compton X Compositor config file
     3.5 -
     3.6 -# Shadow
     3.7 -shadow = true;
     3.8 -no-dnd-shadow = true;
     3.9 -no-dock-shadow = true;
    3.10 -clear-shadow = true;
    3.11 -shadow-radius = 7;
    3.12 -shadow-offset-x = -7;
    3.13 -shadow-offset-y = -7;
    3.14 -# shadow-opacity = 0.7;
    3.15 -# shadow-red = 0.0;
    3.16 -# shadow-green = 0.0;
    3.17 -# shadow-blue = 0.0;
    3.18 -shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'" ];
    3.19 -# shadow-exclude = "n:e:Notification";
    3.20 -shadow-ignore-shaped = false;
    3.21 -# shadow-exclude-reg = "x10+0+0";
    3.22 -# xinerama-shadow-crop = true;
    3.23 -
    3.24 -# Opacity
    3.25 -menu-opacity = 0.8;
    3.26 -inactive-opacity = 0.8;
    3.27 -# active-opacity = 0.8;
    3.28 -frame-opacity = 0.7;
    3.29 -inactive-opacity-override = false;
    3.30 -alpha-step = 0.06;
    3.31 -# inactive-dim = 0.2;
    3.32 -# inactive-dim-fixed = true;
    3.33 -# blur-background = true;
    3.34 -# blur-background-frame = true;
    3.35 -blur-kern = "3x3box"
    3.36 -# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
    3.37 -# blur-background-fixed = true;
    3.38 -blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
    3.39 -# opacity-rule = [ "80:class_g = 'URxvt'" ];
    3.40 -
    3.41 -# Fading
    3.42 -fading = true;
    3.43 -# fade-delta = 30;
    3.44 -fade-in-step = 0.03;
    3.45 -fade-out-step = 0.03;
    3.46 -# no-fading-openclose = true;
    3.47 -fade-exclude = [ ];
    3.48 -
    3.49 -# Other
    3.50 -backend = "xrender"
    3.51 -mark-wmwin-focused = true;
    3.52 -mark-ovredir-focused = true;
    3.53 -# use-ewmh-active-win = true;
    3.54 -detect-rounded-corners = true;
    3.55 -detect-client-opacity = true;
    3.56 -refresh-rate = 0;
    3.57 -vsync = "none";
    3.58 -dbe = false;
    3.59 -paint-on-overlay = true;
    3.60 -# sw-opti = true;
    3.61 -# unredir-if-possible = true;
    3.62 -# unredir-if-possible-delay = 5000;
    3.63 -# unredir-if-possible-exclude = [ ];
    3.64 -focus-exclude = [ "class_g = 'Cairo-clock'" ];
    3.65 -detect-transient = true;
    3.66 -detect-client-leader = true;
    3.67 -invert-color-include = [ ];
    3.68 -# resize-damage = 1;
    3.69 -
    3.70 -# GLX backend
    3.71 -# glx-no-stencil = true;
    3.72 -glx-copy-from-front = false;
    3.73 -# glx-use-copysubbuffermesa = true;
    3.74 -# glx-no-rebind-pixmap = true;
    3.75 -glx-swap-method = "undefined";
    3.76 -# glx-use-gpushader4 = true;
    3.77 -
    3.78 -# Window type settings
    3.79 -wintypes:
    3.80 -{
    3.81 -  tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
    3.82 -};
     4.1 --- a/compton/stuff/compton.desktop	Mon Feb 24 01:10:12 2014 +0100
     4.2 +++ b/compton/stuff/compton.desktop	Mon Feb 24 01:10:34 2014 +0100
     4.3 @@ -4,6 +4,6 @@
     4.4  Name[fr]=Effets X Compton
     4.5  Comment=Light X compositor
     4.6  Comment[fr]=Compositeur X léger
     4.7 -Exec=compton
     4.8 +Exec=compton -Cc -i 0.75 -r 10 -o 0.5
     4.9  Icon=user-desktop
    4.10  Categories=Utility;