Skip to content

Instantly share code, notes, and snippets.

@rur0
Created May 30, 2019 14:10
Show Gist options
  • Save rur0/7ddd3ab9c03a6151cda070327239e980 to your computer and use it in GitHub Desktop.
Save rur0/7ddd3ab9c03a6151cda070327239e980 to your computer and use it in GitHub Desktop.
# Shadow
shadow = true; # Enable shadowing on windows
no-dnd-shadow = true; # Don't draw shadows on DND windows
no-dock-shadow = false; # Don't draw shadows on dock windows
clear-shadow = true; # Zero the part of the shadow's mask behind the window
shadow-radius = 4; # The radius of the shadow blur (default 15)
shadow-offset-x = -5; # The x offset of the shadow blur (default -15)
shadow-offset-y = -5; # The y offset of the shadow blur (default -15)
shadow-opacity = 0.70; # Opacity of the shadows (default .75)
shadow-red = 0.00;
shadow-green = 0.00;
shadow-blue = 0.00;
shadow-exclude = [ "name = 'Polybar tray window'" ]; # Exclude conditions for shadows
# shadow-ignore-shaped = true;
# Opacity
menu-opacity = 1.0; # Opacity for menus (default 1.0)
inactive-opacity = 1.0; # Opacity for inactive windows (0.1 - 1.0)
inactive-opacity-override = true; # Overrides overall opacity rules
opacity-rule = [ "80:class_g *= 'konsole'" ];
# Fading
fading = true; # Fade windows during opacity changes
fade-delta = 10; # The time between steps in milliseconds (default 30)
fade-in-step = 0.1; # Opacity delta when fading in (default 0.028)
fade-out-step = 0.1; # Opacity delta when fading out (default 0.03)
no-fading-openclose = false; # Fade windows in/out when opening/closing
# Other
mark-wmwin-focused = true; # Tries to detect WM windows and mark as active
mark-ovredir-focused = true; # Overrides focused windows as active
detect-rounded-corners = true; # Tries to detect rounded cornered windows
detect-client-opacity = true; # Detects if the window itself supports transparency
# inactive-dim = 0.5; # Dims inactive windows (0.0 - 1.0, default 0.0)
blur-background = true; # Blurs transparent background (default false)
blur-background-frame = false; # Blurs transparent frame (default false)
blur-background-fixed = true;
# We use a compton fork here https://github.com/tryone144/compton
blur-method = "kawase";
blur-strength = 5;
detect-transient = true;
# detect-client-leader = true;
# GLX (backend)
backend = "glx";
vsync = "opengl";
# Window type settings
wintypes:
{
tooltip = { fade = true; shadow = false; opacity = 0.90; };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment