elenapan/config/compton/compton.conf
Calvin Evans 77835ee6fa Exclude cava visualiser from compton shadows
Former-commit-id: 450571427a
Former-commit-id: 55fe8958994e3dc8a7ee14b667210ef55194fd77
Former-commit-id: e2f7f05e7e78877117dad6a2611f363cfb3e567a
Former-commit-id: 5cf257a887c2ee7ca53337ff48d47ab71007dae3
2019-09-20 14:31:02 +01:00

136 lines
3.7 KiB
Text

# Performance related
# Use OpenGL
backend = "glx";
# These might or might NOT help with performance
#glx-no-stencil = true;
#glx-copy-from-front = false; # When enbled on intel GPU: screen broken until compton is killed.
#glx-use-copysubbuffermesa = true
#glx-no-rebind-pixmap = false
#glx-swap-method = 1
# === Rules ===
shadow-exclude = [
"class_g ?= 'slop'",
"class_g ?= 'Polybar'",
#"class_g ?= 'slop'",
# i3wm titlebar shadows (tabbed/stacked)
"class_g ?= 'i3-frame'",
"class_g ?= 'Visualizer'",
# i3wm hidden window shadows (tabbed/stacked)
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"window_type *= 'menu'",
"window_type = 'utility'",
"window_type = 'dropdown_menu'",
"window_type = 'popup_menu'"
];
opacity-rule = [
#"60:class_g ?= 'rofi'",
# i3 titlebar transparency
#"60:class_g = 'i3-frame'"
# For i3wm tabbed/stacked layout transparency
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
# herbstluftwm frame
#"60:class_g = '_HERBST_FRAME'"
];
focus-exclude = [
#"class_g ?= 'rofi'"
#'_NET_WM_NAME@:s = "rofi"'
"class_g ?= 'slop'",
"name = 'rofi'",
"class_g ?= 'Steam'",
"_NET_WM_WINDOW_TYPE@:a *= 'MENU'",
"window_type *= 'menu'",
"window_type = 'utility'",
"window_type = 'dropdown_menu'",
"window_type = 'popup_menu'"
];
blur-background-exclude = [
"class_g ?= 'slop'"
];
# === Shadows ===
# Enabled client-side shadows on windows.
shadow = true;
# Don't draw shadows on DND windows.
no-dnd-shadow = true;
# Avoid drawing shadows on dock/panel windows.
no-dock-shadow = false;
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
clear-shadow = false;
# Detect rounded corners
# (it doesn't really do anything for shadows)
detect-rounded-corners = false;
# shadow-radius: The blur radius for shadows. (default 12)
# shadow-offset-x: The left offset for shadows. (default -15)
# shadow-offset-y: The top offset for shadows. (default -15)
# shadow-opacity: The translucency for shadows. (default .75)
shadow-radius = 6;
shadow-offset-x = -8;
shadow-offset-y = -8;
shadow-opacity = 0.3;
# === Transparency ===
#active-opacity = 0.95
#inactive-opacity = 0.95
#inactive-dim = 0.30
# Border and titlebar opacity
#frame-opacity = 0.4;
# === Fading ===
# Fade windows during opacity changes.
fading = true;
# The time between steps in a fade in milliseconds. (default 10).
fade-delta = 3;
# 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).
#fade-out-step = 0.03;
# Fade windows in/out when opening/closing
no-fading-openclose = false;
# Specify a list of conditions of windows that should not be faded.
#fade-exclude = [
# "name = '???'"
#];
# === Blurring ===
blur-background = false;
#blur-method = "convolution";
#blur-strength = 20;
#blur-background-fixed = true;
# Blur background of opaque windows with transparent frames as well.
#blur-background-frame = true;
# 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-ish 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"
#Window type settings
# TODO
#wintypes:
#{
#tooltip = { fade = true; shadow = false; };
#menu = { shadow = false; };
#dropdown_menu = { shadow = false; };
#popup_menu = { shadow = false; };
#utility = { shadow = false; };
#};