compton: tweak shadow and fade
authorAmin Bandali <bandali@gnu.org>
Sun, 8 Sep 2019 13:18:29 +0000 (09:18 -0400)
committerAmin Bandali <bandali@gnu.org>
Sun, 8 Sep 2019 13:18:29 +0000 (09:18 -0400)
.config/compton/compton.conf

index 25b8593..f36a531 100644 (file)
@@ -1,8 +1,8 @@
 # Shadow
 shadow = true;
 # Shadow
 shadow = true;
-shadow-radius = 7;
-shadow-offset-x = -7;
-shadow-offset-y = -7;
+shadow-radius = 5;
+shadow-offset-x = -5;
+shadow-offset-y = -5;
 log-level = "warn";
 # log-file = "/path/to/your/log/file";
 # shadow-opacity = 0.7;
 log-level = "warn";
 # log-file = "/path/to/your/log/file";
 # shadow-opacity = 0.7;
@@ -12,6 +12,7 @@ log-level = "warn";
 shadow-exclude = [
        "name = 'Notification'",
        "class_g = 'Conky'",
 shadow-exclude = [
        "name = 'Notification'",
        "class_g = 'Conky'",
+    "class_g = 'Abrowser' && !window_type *= 'menu'",
        "class_g ?= 'Notify-osd'",
        "class_g = 'Cairo-clock'",
        "_GTK_FRAME_EXTENTS@:c"
        "class_g ?= 'Notify-osd'",
        "class_g = 'Cairo-clock'",
        "_GTK_FRAME_EXTENTS@:c"
@@ -42,8 +43,8 @@ blur-background-exclude = [
 # Fading
 fading = true;
 fade-delta = 3;
 # Fading
 fading = true;
 fade-delta = 3;
-fade-in-step = 0.09;
-fade-out-step = 0.09;
+fade-in-step = 0.12;
+fade-out-step = 0.12;
 # no-fading-openclose = true;
 # no-fading-destroyed-argb = true;
 fade-exclude = [ ];
 # no-fading-openclose = true;
 # no-fading-destroyed-argb = true;
 fade-exclude = [ ];
@@ -76,7 +77,7 @@ use-damage = true;
 # Window type settings
 wintypes:
 {
 # Window type settings
 wintypes:
 {
-  tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
+  tooltip = { fade = true; shadow = false; opacity = 0.95; focus = true; full-shadow = false; };
   dock = { shadow = false; }
   dnd = { shadow = false; }
   popup_menu = { opacity = 0.8; }
   dock = { shadow = false; }
   dnd = { shadow = false; }
   popup_menu = { opacity = 0.8; }