Rewrite `b/*scratch*' function in init file
[~bandali/configs] / .config / compton / compton.conf
index 25b8593..4d6ce5e 100644 (file)
@@ -1,8 +1,8 @@
 # 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;
@@ -12,6 +12,7 @@ log-level = "warn";
 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"
@@ -41,9 +42,9 @@ blur-background-exclude = [
 
 # Fading
 fading = true;
-fade-delta = 3;
-fade-in-step = 0.09;
-fade-out-step = 0.09;
+fade-delta = 9;
+fade-in-step = 0.5;
+fade-out-step = 0.5;
 # no-fading-openclose = true;
 # no-fading-destroyed-argb = true;
 fade-exclude = [ ];
@@ -71,12 +72,12 @@ invert-color-include = [ ];
 # glx-no-stencil = true;
 # glx-no-rebind-pixmap = true;
 # xrender-sync-fence = true;
-use-damage = true;
+use-damage = false;
 
 # 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; }