general {
    gaps_in = 5
    gaps_out = 10
    layout = hy3

    resize_on_border = yes
    extend_border_grab_area = 20

    border_size = $border
    col.active_border = $active_color
    col.inactive_border = $base_color
}

plugin {
    hy3 {
        tabs {
            height = 24
            text_height = 9
            text_padding = 10
            padding = 2
            render_text = true
            text_font = JetBrains Mono Nerd Font Mono Bold
            rounding = $radius

            col.active = $active_color
            col.inactive = $base_color
            col.text.active = $text_color
            col.text.inactive = $text_color
        }

        autotile {
            enable = true
        }
    }
}

decoration {
    rounding = $radius

    shadow {
        enabled = true
    }

    blur {
        enabled = true
        size = 4
        passes = 2
        noise = 0.008
        contrast = 0.8916
        brightness = 0.8
    }
}

animations {
    enabled = yes

    bezier = windowIn, 0.06, 0.71, 0.25, 1
    bezier = windowResize, 0.04, 0.67, 0.38, 1

    animation = windowsIn, 1, 3, windowIn, slide #popin 20%
    animation = windowsOut, 1, 3, windowIn, slide #popin 70%
    animation = windowsMove, 1, 2.5, windowResize
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 3, default
    animation = workspaces, 1, 6, default
	animation = layers, 1, 5, windowIn, slide
}

gestures {
    workspace_swipe = true
    workspace_swipe_fingers = 3
    workspace_swipe_forever = true
    workspace_swipe_cancel_ratio = 0.15
}

misc {
	disable_hyprland_logo = true
	disable_splash_rendering = true
	key_press_enables_dpms = true
    mouse_move_enables_dpms = true
	vrr = 1
}

xwayland {
    force_zero_scaling = true
    use_nearest_neighbor = false
}

env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland