#################################
#             Shadows           #
#################################

backend="glx";

fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;

#round-borders=2;
#corner-radius=11;

rounded-corners-exclude = [
	"window_type *= 'dock'",
	"class_g = 'Tint2'",
	"window_type = 'menu'",
	"window_type = 'tooltip'",
	"window_type = 'popup_menu'",
	"window_type = 'dropdown_menu'",
];


detect-transient = true;

use-damage = false;

log-level = "warn";

wintypes:
{
  tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
  dock = { shadow = false; clip-shadow-above = true; }
  dnd = { shadow = false; }
  menu = { animation = "slide-down"; }
  popup_menu = { animation = "slide-down"; opacity = 1.0; }
  dropdown_menu = { animation = "slide-down"; opacity = 1.0; }
  toolbar = { animation = "none"; }
};

#################################
#       Animation Settings      #
#################################

animations = true;

# Values can be none, auto, fly-in, zoom, squeeze, slide-up, slide-down, slide-left, slide-right
animation-for-open-window = "zoom";
animation-for-transient-window = "slide-down";
animation-for-unmap-window = "zoom";
animation-for-workspace-switch-in = "slide-up";
animation-for-workspace-switch-out = "fly-in";

# Stiffness (a.k.a. tension) parameter for spring-based animation (default: 200.0).
animation-stiffness = 700;

# Dampening (a.k.a. friction) parameter for spring-based animation (default: 25.0).
animation-dampening = 50;

# Mass parameter for spring-based animation (default: 1.0).
animation-window-mass = 1;

# The time between steps in animation, in milliseconds. (> 0, defaults to 10).
animation-delta = 16;

# Force animations to go step by step even if cpu usage is high
animation-force-steps = true;

# Whether to clamp animations (default: true).
#animation-clamping = false;

# Specify a list of conditions of windows that should have no animations.
animation-exclude = [
  "class_g *= 'flameshot'",
  "class_g *= 'i3lock'"
];
