exec = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Mocha'
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
layerrule = blur,waybar
layerrule = ignorezero, waybar

# Catppuccin colorscheme
source = ~/.config/hypr/mocha.conf

# Hyprcursor
env = HYPRCURSOR_THEME, rose-pine-hyprcursor
env = HYPRCURSOR_SIZE, 24

# Variables
# Hyprland options

general {
    #gaps_in = 15
    #gaps_out = 40, 160, 40, 160
    gaps_in = 0
    gaps_out = 0
    border_size = 4
    #border_size = 0
    col.active_border = $peach
    #col.inactive_border = $peach
    layout = dwindle
    resize_on_border = false
    cursor_inactive_timeout = 2
    no_cursor_warps = false
}

group {
    col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
    col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
    col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
    col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
}

decoration {
    rounding = 0
    drop_shadow = false
    dim_special = 0.3
    #active_opacity = 1.0
    #inactive_opacity = 0.8
    fullscreen_opacity = 1.0

    blur {
        enabled = yes
        special = true
        size = 6
        passes = 3
        new_optimizations = on
        ignore_opacity = on
        xray = false
    }
}

misc {
    disable_hyprland_logo = true
    disable_splash_rendering = true
    force_default_wallpaper = 0
    vrr = 2
    vfr = true
}



# Animations
# Config options for Hyprland's various animations

animations {
    enabled = yes

    # Hyprdots
    bezier = wind, 0.05, 0.9, 0.1, 1.05
    bezier = winIn, 0.1, 1.1, 0.1, 1.1
    bezier = winOut, 0.3, -0.3, 0, 1
    bezier = liner, 1, 1, 1, 1
    animation = windows, 1, 6, wind, slide
    animation = windowsIn, 1, 6, winIn, slide
    animation = windowsOut, 1, 5, winOut, slide
    animation = windowsMove, 1, 5, wind, slide
    animation = border, 1, 1, liner
    animation = borderangle, 1, 30, liner, loop
    animation = fade, 1, 10, default
    animation = workspaces, 1, 5, wind
}