# Animation settings - controlled zoom
animations = true;
animation-stiffness-in-tag = 80;
animation-stiffness-tag-change = 35.0;
animation-window-mass = 0.6;
animation-dampening = 9;
animation-clamping = false;
# Animation styles with controlled zoom effect
animation-for-open-window = "zoom";           # Kept zoom for main windows
animation-for-unmap-window = "zoom";
animation-for-transient-window = "zoom";   # Changed to squeeze for popups to limit screen space usage
animation-for-prev-tag = "zoom";
animation-for-next-tag = "zoom";
# Additional animation control
animation-for-workspace-switch-in = "zoom";   # Control workspace transitions
animation-for-workspace-switch-out = "zoom";  # Control workspace transitions
# Animation size limits (new parameters)
animation-max-size = 50;                      # Limit maximum animation expansion
# Tag transition fading
enable-fading-prev-tag = true;
enable-fading-next-tag = true;
# Shadow settings
shadow = true;
shadow-radius = 15;
shadow-offset-x = -5;
shadow-offset-y = -5;
shadow-opacity = 0.8;
shadow-color = "#000000"
shadow-exclude = [
  "class_g = 'slop'"
];
# Fading settings
fading = true;
fade-in-step = 0.025;
fade-out-step = 0.015;
fade-delta = 15;
fade-exclude = [
  "class_g = 'slop'"
];
# Focus settings
focus-exclude = [
  "class_g = 'slop'",
  "class_g = 'maim'"
];
# Opacity rules
opacity-rule = [
  "93:class_g = 'discord'",
  "80:class_g = 'st'",
  "80:class_g = 'dmenu'",
  "85:class_g = 'dwm'",
  "100:class_g = 'floorp'",
  "100:class_g = 'slop'"
];
# Corner settings
corner-radius = 12;
rounded-corners-exclude = [
  "class_g = 'slop'",
  "class_g = 'maim'",
];
# Blur settings
blur-background = true;
blur-background-frame = true;
blur-method = "dual_kawase";
blur-strength = 6;
blur-kern = "3x3box";
blur-background-fixed = false;
blur-exclude = [
  "class_g = 'slop'",
  "class_g = 'maim'",
];
# Animation exclude
animation-exclude = [
  "class_g = 'slop'"
];
# General settings
daemon = false;
backend = "glx";
dithered-present = false;
vsync = true;
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
use-ewmh-active-win = true;
unredir-if-possible = false;
detect-transient = true;
glx-no-stencil = true;
use-damage = true;
xrender-sync-fence = true;
window-shader-fg = "default";
transparent-clipping = false;
log-level = "warn";
# Window type specific settings - special handling for popups
wintypes: {
  tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; animations = true; animation-for-open-window = "squeeze"; };
  dock = { shadow = false; clip-shadow-above = true; };
  dnd = { shadow = false; };
  popup_menu = { opacity = 0.95; animations = true; shadow = true; animation-for-open-window = "squeeze"; };
  dropdown_menu = { opacity = 0.95; animations = true; shadow = true; animation-for-open-window = "squeeze"; };
  # Add slop to wintypes for specific handling
  unknown = { fade = false; shadow = false; opacity = 1.0; focus = false; full-shadow = false; clip-shadow-above = false; animations = false; };
};

# Global exclusion for slop
unredir-if-possible-exclude = [
  "class_g = 'slop'"
];
