#################################
# BACKEND
#################################

backend = "glx"; 
vsync = true;
use-damage = true;

#################################
# TRANSPARENCY
#################################

active-opacity = 0.97;     # focused window
inactive-opacity = 0.85;   # unfocused window
frame-opacity = 0.95;

inactive-opacity-override = false;
detect-client-opacity = true;

#################################
# FADING ANIMATION
#################################

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

#################################
# SHADOW (Premium Soft Look)
#################################

shadow = true;
shadow-radius = 18;       # softness
shadow-opacity = 0.35;    # darkness
shadow-offset-x = -15;
shadow-offset-y = -15;

shadow-exclude = [
  "class_g = 'Rofi'",
  "class_g = 'Polybar'",
  "window_type = 'dock'"
];

#################################
# BLUR (Premium Frosted Glass)
#################################

blur-method = "dual_kawase";
blur-strength = 7;        # 3-10 safe range

blur-background = true;
blur-background-frame = true;
blur-background-fixed = false;

#################################
# ROUNDED CORNERS
#################################

corner-radius = 12;

rounded-corners-exclude = [
  "window_type = 'dock'",
  "class_g = 'Polybar'"
];

#################################
# PERFORMANCE TUNING
#################################

mark-wmwin-focused = true;
mark-ovredir-focused = true;

unredir-if-possible = false;
#glx-no-stencil = true;
#glx-no-rebind-pixmap = true;
