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

81 lines
1.5 KiB
Text
Raw Normal View History

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