# vim: set ft=config:

# Some default env vars.
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that

general {
	# https://wiki.hyprland.org/Configuring/Variables/
	gaps_in = 8
	gaps_out = 16
	border_size = 4
	#col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
	col.active_border = rgba(83a598ff)
	col.inactive_border = rgba(282828cc)
	layout = dwindle
	# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
	allow_tearing = false
}

decoration {
	# See https://wiki.hyprland.org/Configuring/Variables/ for more
	rounding = 6
	blur {
		enabled = false
		size = 3
		passes = 1
	}
	drop_shadow = no
	shadow_range = 8
	shadow_render_power = 3
	col.shadow = rgba(282828ee)
}

animations {
	# https://wiki.hyprland.org/Configuring/Animations/
	enabled = yes
	bezier = snappy, 0.05, 0.9, 0.1, 1.05
	animation = windows, 1, 2, snappy
	animation = windowsIn, 1, 1, default
	animation = windowsOut, 1, 2, default, popin 80%
	animation = layers, 1, 1, default
	animation = border, 1, 3, default
	animation = borderangle, 1, 8, default
	animation = fade, 1, 3, default
	animation = workspaces, 1, 1.5, snappy
}

dwindle {
	# https://wiki.hyprland.org/Configuring/Dwindle-Layout/
	pseudotile = yes
	preserve_split = yes # you probably want this
}

master {
	# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
	new_is_master = true
}

gestures {
	# See https://wiki.hyprland.org/Configuring/Variables/ for more
	workspace_swipe = true
	workspace_swipe_invert = true
}

misc {
	# See https://wiki.hyprland.org/Configuring/Variables/ for more
	force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
	disable_splash_rendering = true
}

xwayland {
	force_zero_scaling = true
}
