animations = true;
animation-stiffness-in-tag = 120;
animation-stiffness-tag-change = 90.0;
animation-window-mass = 0.3;
animation-dampening = 5;
animation-clamping = false;

animation-for-open-window = "zoom";
animation-for-unmap-window = "zoom";
animation-for-transient-window = "zoom";
animation-for-prev-tag = "zoom";
animation-for-next-tag = "zoom";
animation-for-workspace-switch-in = "zoom";
animation-for-workspace-switch-out = "zoom";

animation-max-size = 20;

enable-fading-prev-tag = true;
enable-fading-next-tag = true;
fading = true;
fade-in-step = 0.07;
fade-out-step = 0.06;
fade-delta = 5;

shadow = true;
shadow-radius = 12;
shadow-offset-x = -5;
shadow-offset-y = -5;
shadow-opacity = 0.7;
shadow-color = "#000000";
shadow-exclude = [
  "class_g = 'slop'",
  "class_g = 'maim'",
  "class_g = 'import'",
  "class_g = 'imagemagick'",
  "name = 'slop'",
  "name = 'select-region'",
  "name = 'select region'",
  "window_type = 'utility'",
  "window_type = 'notification'",
  "window_type = 'dock'",
  "_NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_DOCK'"
];

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'",
  "class_g = 'import'",
  "class_g = 'imagemagick'",
  "name = 'slop'",
  "name = 'select-region'",
  "name = 'select region'",
  "window_type = 'utility'",
  "window_type = 'notification'",
  "window_type = 'dock'",
  "_NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_DOCK'"
];

rounded-corners-exclude = [
  "class_g = 'slop'",
  "class_g = 'maim'"
];

opacity-rule = [
  "93:class_g = 'discord'",
  "93:class_g = 'spotify'",
  "80:class_g = 'st'",
  "80:class_g = 'urxvt'",
  "80:class_g = 'dmenu'",
  "85:class_g = 'dwm'",
  "100:class_g = 'floorp'",
  "100:class_g = 'firefox'",
  "100:class_g = 'slop'"
];

focus-exclude = [
  "class_g = 'slop'",
  "class_g = 'maim'"
];

animation-exclude = [
  "class_g = 'slop'",
  "class_g = 'maim'"
];

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";

wintypes: {
  tooltip = {
    fade = true;
    shadow = true;
    opacity = 0.95;
    focus = true;
    animations = true;
    animation-for-open-window = "zoom";
  };
  dock = {
    shadow = false;
    clip-shadow-above = true;
  };
  dnd = {
    shadow = false;
  };
  popup_menu = {
    opacity = 0.95;
    animations = true;
    shadow = true;
    animation-for-open-window = "zoom";
  };
  dropdown_menu = {
    opacity = 0.95;
    animations = true;
    shadow = true;
    animation-for-open-window = "zoom";
  };
  unknown = {
    fade = false;
    shadow = false;
    opacity = 1.0;
    focus = false;
    full-shadow = false;
    clip-shadow-above = false;
    animations = false;
  };
};
