[rc/{afew,bspwm}] migrate afew and bspwm (and sxhkd) configs
[~bandali/configs] / compton / .config / compton.conf
index 75cecb7..9c2e2b7 100644 (file)
@@ -1,5 +1,5 @@
 # Shadow
-shadow = true;                 # Enabled client-side shadows on windows.
+shadow = false;                        # Enabled client-side shadows on windows.
 no-dock-shadow = true;         # Avoid drawing shadows on dock/panel windows.
 no-dnd-shadow = true;          # Don't draw shadows on DND windows.
 clear-shadow = true;           # Zero the part of the shadow's mask behind the 
@@ -11,17 +11,17 @@ shadow-offset-y = -5;               # The top offset for shadows. (default -15)
 # shadow-red = 0.0;            # Red color value of shadow. (0.0 - 1.0, defaults to 0)
 # shadow-green = 0.0;          # Green color value of shadow. (0.0 - 1.0, defaults to 0)
 # shadow-blue = 0.0;           # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
-shadow-exclude = [ "n:e:Notification", "class_g = 'Chromium'", "class_g = 'Dmenu'" ];  # Exclude conditions for shadows.
+shadow-exclude = [ "n:e:Notification", "class_g = 'Chromium'", "class_g = 'Dmenu'", "class_g = 'Firefox' && argb" ];   # Exclude conditions for shadows.
 # shadow-exclude = "n:e:Notification";
 #shadow-exclude = [ "_GTK_FRAME_EXTENTS@:c" ] # Fix dual shadow on some gtk3 powered applications
 shadow-ignore-shaped = true;   # Avoid drawing shadow on all shaped windows
                                # (see also: --detect-rounded-corners)
 
 # Opacity
-menu-opacity = 0.9;                    # The opacity for menus. (default 1.0)
+menu-opacity = 1.0;                    # The opacity for menus. (default 1.0)
 #inactive-opacity = 0.9;                       # Default opacity of inactive windows. (0.0 - 1.0)
 # active-opacity = 0.8;                        # Default opacity for active windows. (0.0 - 1.0)
-frame-opacity = 0.7;                   # Opacity of window titlebars and borders. (0.1 - 1.0)
+frame-opacity = 1.0;                   # Opacity of window titlebars and borders. (0.1 - 1.0)
 # inactive-opacity-override = true;    # Let inactive opacity set by 'inactive-opacity' overrides
                                        # value of _NET_WM_OPACITY. Bad choice.
 alpha-step = 0.06;                     # XRender backend: Step size for alpha pictures. Increasing
@@ -34,12 +34,12 @@ alpha-step = 0.06;                  # XRender backend: Step size for alpha pictures. Increasing
                                        # GLX backend is preferred.
 # blur-background-frame = true;                # Blur background of opaque windows with transparent
                                        # frames as well.
-blur-background-fixed = false;         # Do not let blur radius adjust based on window opacity.
+blur-background-fixed = true;          # Do not let blur radius adjust based on window opacity.
 blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
                                        # Exclude conditions for background blur.
 
 # Fading
-fading = true;                 # Fade windows during opacity changes.
+fading = false;                        # Fade windows during opacity changes.
 fade-delta = 3;                # The time between steps in a fade in milliseconds. (default 10).
 fade-in-step = 0.03;           # Opacity change between steps while fading in. (default 0.028).
 fade-out-step = 0.03;          # Opacity change between steps while fading out. (default 0.03).
@@ -47,7 +47,7 @@ fade-out-step = 0.03;         # Opacity change between steps while fading out. (default
 fade-exclude = [ ];            # Exclude conditions for fading.
 
 # Other
-backend = "xrender"            # Backend to use: "xrender" or "glx". GLX backend is typically
+backend = "glx"                        # Backend to use: "xrender" or "glx". GLX backend is typically
                                # much faster but depends on a sane driver.
 mark-wmwin-focused = true;     # Try to detect WM windows and mark them as active.
 mark-ovredir-focused = true;   # Mark all non-WM but override-redirect windows active (e.g. menus).
@@ -59,7 +59,7 @@ detect-client-opacity = true; # Detect _NET_WM_OPACITY on client windows, useful
                                # managers not passing _NET_WM_OPACITY of client windows to frame
                                # windows.
 refresh-rate = 0;              # For --sw-opti: Specify refresh rate of the screen. 0 for auto.
-vsync = "opengl";              # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc" 
+vsync = "drm";                 # "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc" 
                                # See man page for more details.
 dbe = false;                   # Enable DBE painting mode. Rarely needed.
 paint-on-overlay = true;       # Painting on X Composite overlay window. Recommended.
@@ -75,16 +75,22 @@ detect-client-leader = true;        # Use WM_CLIENT_LEADER to group windows.
 invert-color-include = [ ];    # Conditions for windows to be painted with inverted color.
 
 # GLX backend                  # GLX backend fine-tune options. See man page for more info.
-# glx-no-stencil = true;       # Recommended.
+glx-no-stencil = true;         # Recommended.
 glx-copy-from-front = false;   # Useful with --glx-swap-method,
 # glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync.
 # glx-no-rebind-pixmap = true; # Recommended if it works.      
-glx-swap-method = "undefined"; # See man page.
+glx-no-rebind-pixmap = true;   # Recommended if it works.      
+#glx-swap-method = "4";        # See man page.
+glx-swap-method = "4"; # See man page.
 
 # Window type settings
 wintypes:
 {
-  tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
+  tooltip = { fade = true; shadow = false; opacity = 1; focus = true; };
+  menu = { shadow = false; };
+  dropdown_menu = { shadow = false; };
+  popup_menu =  { shadow = false; };
+  utility =  { shadow = false; };
   # fade: Fade the particular type of windows.
   # shadow: Give those windows shadow
   # opacity: Default opacity for the type of windows.