From 44bed47d7bff70b69a1137bf7b796060188db772 Mon Sep 17 00:00:00 2001 From: elena Date: Wed, 16 May 2018 22:12:27 +0300 Subject: [PATCH] updated compton config Former-commit-id: 59a3a9f732c597e806aca365e171843a3ec8ad0d Former-commit-id: 008d2f6e7e8bd09c0d162a7e6cea1a89d8f4a51c Former-commit-id: d9758fa98199f97d0ca77235b7541db9ce0e631f Former-commit-id: 5e1e030fe7ee54e24ec908ce4a9ae80ce069ea83 --- config/compton/config | 57 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 9 deletions(-) diff --git a/config/compton/config b/config/compton/config index 3d775b3..3142903 100644 --- a/config/compton/config +++ b/config/compton/config @@ -1,14 +1,20 @@ +# Performance related +backend = "glx"; +#glx-no-stencil = true; +#glx-copy-from-font = false; + +# === Rules === shadow-exclude = [ "class_g ?= 'Polybar'", - "class_g ?= 'slop'", - # Disable i3wm titlebar shadows + #"class_g ?= 'slop'", + # For i3wm titlebar shadows #"class_g ?= 'i3-frame'", - # For i3wm tabbed/stacked layout transparency/shadows + # For i3wm tabbed/stacked layout shadows "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; opacity-rule = [ - # For i3wm tabbed/stacked layout transparency/shadows + # For i3wm tabbed/stacked layout transparency "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; @@ -19,6 +25,7 @@ focus-exclude = [ ]; +# === Shadows === # Enabled client-side shadows on windows. shadow = true; # Don't draw shadows on DND windows. @@ -28,19 +35,28 @@ no-dock-shadow = false; # Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows. clear-shadow = true; # The blur radius for shadows. (default 12) -shadow-radius = 1; +shadow-radius = 3; # The left offset for shadows. (default -15) -shadow-offset-x = -1; +shadow-offset-x = -2; # The top offset for shadows. (default -15) -shadow-offset-y = 0; +shadow-offset-y = -1; # The translucency for shadows. (default .75) shadow-opacity = 0.2; +# Detect rounded corners +detect-rounded-corners = true; +# === Transparency === +#active-opacity = 0.95 +#inactive-opacity = 0.95 +#inactive-dim = 0.5 +# Border and titlebar opacity +frame-opacity = 0.6; +# === Fading === # Fade windows during opacity changes. -fading = true; +#fading = true; # The time between steps in a fade in milliseconds. (default 10). -fade-delta = 5; +#fade-delta = 5; # Opacity change between steps while fading in. (default 0.028). #fade-in-step = 0.03; # Opacity change between steps while fading out. (default 0.03). @@ -52,3 +68,26 @@ fade-delta = 5; #fade-exclude = [ # "name = '???'" #]; + +# === Blurring === +# Predefined +#blur-kern = "3x3box" +#blur-kern = "3x3gaussian" +#blur-kern = "5x5box" +#blur-kern = "5x5gaussian" +#blur-kern = "7x7box" +#blur-kern = "7x7gaussian" +#blur-kern = "9x9gaussian" +#blur-kern = "11x11gaussian" +# Strong blur +#blur-kern = "7,7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1" +# Medium blur +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" +# Weak blur +#blur-kern = "3,3,1,1,1,1,1,1,1,1" +blur-background = true; +# Blur background of opaque windows with transparent frames as well. +#blur-background-frame = true; +blur-background-exclude = [ + "class_g ?= 'slop'" +];