# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = de
    kb_variant =
    kb_model =
    kb_options = compose:menu
    kb_rules =
	numlock_by_default = true

    follow_mouse = 1
	mouse_refocus = true
	accel_profile = flat

    touchpad {
        natural_scroll = no
    }

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 3
    gaps_out = 6
    border_size = 1

    layout = dwindle
}

cursor {
    inactive_timeout = 0
    no_warps = true
}

misc {
	disable_hyprland_logo = true
	background_color = 0x1E1F29
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 3

	blur {
		enabled = true
		size = 3
		passes = 1
		new_optimizations = true
	}
}

animations {
    enabled = false

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = overshot, 0.05, 0.9, 0.1, 1.1

    animation = windows, 1, 3, overshot, slide
    animation = windowsMove, 1, 3, default
    animation = fade, 0, 6, default
    animation = border, 1, 6, default
    animation = workspaces, 1, 6, overshot, slide
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes # you probably want this

	force_split = 2 # always split to right/bottom

	no_gaps_when_only = yes
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    new_status = master
	mfact = 0.5

	no_gaps_when_only = yes
}