flake/home/applications/hyprland/hypr/main.conf

80 lines
1.5 KiB
Text

# Display settings
monitor = ,preferred, auto, 1
monitor = eDP-1, 1920x1080@60, 0x0, 1.25 # laptop screen eDP-1
# General settings
general {
gaps_in = 4
gaps_out = 8 # dont forget to change waybar margin
border_size = 2
layout = dwindle
}
# Decorations
decoration {
blur {
size = 4
passes = 4
}
rounding = 4
shadow_range = 50
shadow_render_power = 5
col.shadow = 0x88000000
col.shadow_inactive = 0x44000000
}
# Animations
animations {
bezier = easeOutExpo, 0.16, 1, 0.3, 1
bezier = easeOutQuint, 0.22, 1, 0.36, 1
animation = windows, 1, 6, default, popin
animation = fade, 1, 8, default
animation = border, 1, 8, default
animation = borderangle, 1, 8, default
animation = workspaces, 1, 4, default
}
# Input settings
input {
accel_profile = flat
#force_no_accel = false
natural_scroll = true
touchpad {
natural_scroll = true
disable_while_typing = false
drag_lock = true
}
}
# idk
dwindle {
pseudotile = true
preserve_split = true
}
# Touchpad gestures
gestures {
workspace_swipe = true # touchpad swipe to switch workspaces
workspace_swipe_distance = 600 # doubles gesture distance
}
# XWayland
XWayland {
#use_nearest_neighbor = false
force_zero_scaling = true
}
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
animate_manual_resizes = true
}
# Windows rules
windowrule = float, ^(pavucontrol)$
windowrule = float, ^(org.gnome.Calculator)$
# Layer rules
layerrule = blur, notifications
layerrule = blur, rofi
layerrule = ignorezero, notifications