Files
nix/config/hypr/config/display.conf
2025-11-27 20:20:15 +02:00

231 lines
4.3 KiB
Plaintext

#############################################
# MONITORS
#############################################
monitor=,1920x1080@240,auto,1
# monitor=Unknown-1,disabled
#############################################
# GENERAL
#############################################
general {
gaps_in = 5
gaps_out = 20
border_size = 2
col.active_border = rgb(89b4fa)
col.inactive_border = rgb(585b70)
resize_on_border = false
allow_tearing = true
layout = dwindle
}
#############################################
# DECORATION
#############################################
decoration {
rounding = 12
active_opacity = 1.0
inactive_opacity = 1.0
fullscreen_opacity = 1.0
shadow {
enabled = false
range = 8
render_power = 8
color = rgb(8aadf4)
color_inactive = rgb(585b70)
scale = 1.0
offset = 0 0
}
blur {
enabled = true
size = 3
passes = 1
xray = false
vibrancy = 0.1696
}
}
#############################################
# ANIMATIONS
#############################################
animations {
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = main, 0.445, 0.05, 0.55, 0.95
bezier = monitorBez, 0, 1, 1, 1
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default, slide
animation = specialWorkspace, 1, 6, myBezier, slide
animation = monitorAdded, 1, 30, monitorBez
}
#############################################
# RENDER
#############################################
render {
# new_render_scheduling = true
}
#############################################
# CURSOR
#############################################
cursor {
use_cpu_buffer = 2
enable_hyprcursor = true
invisible = false
}
#############################################
# WINDOW RULES (TAGGING)
#############################################
windowrule {
name = games
match:class = org.vinegarhq.Sober|com.mojang.minecraft.java-edition|deltarune.exe|steam_app_1671210
tag = +game
}
windowrule {
name = discord
match:class = equibop
tag = +discord
}
windowrule {
name = deltarune
match:class = deltarune.exe|steam_app_1671210
tag = +deltarune
}
windowrule {
name = code
match:class = code|windsurf
tag = +code
}
windowrule {
name = music
match:class = cider|spotify
tag = +music
}
# Tag behavior rules
windowrule {
name = render unfocused
match:tag = music|game|discord
render_unfocused = on
}
#############################################
# LAYOUTS
#############################################
dwindle {
pseudotile = true
preserve_split = true
}
#############################################
# MISC
#############################################
misc {
force_default_wallpaper = 2
enable_anr_dialog = true
disable_hyprland_logo = false
initial_workspace_tracking = 0
new_window_takes_over_fullscreen = 1
disable_splash_rendering = false
font_family = "SF Pro Display"
render_unfocused_fps = 240
allow_session_lock_restore = 1
}
#############################################
# LAYER RULES
#############################################
layerrule {
name = waybar
match:namespace = waybar
animation = slide top
above_lock = 2
order = -20
no_screen_share = off
}
layerrule {
name = notifications
match:namespace = notifications
animation = slide right
above_lock = 2
}
layerrule {
name = wofi
match:namespace = wofi
animation = popin 70%
dim_around = on
order = -10
}
layerrule {
name = shimeji
match:namespace = wl_shimeji
order = -9999
above_lock = 2
}
layerrule {
name = gtk layer shell
match:namespace = gtk-layer-shell
order = -25
}
#############################################
# FLOATING UTILITY WINDOWS
#############################################
windowrule {
name = blueman music internet
match:class = blueman-manager|blueman-manager-wrapped|org.pulseaudio.pavucontrol|nm-connection-editor|nm-connection-editor-wrapped
float = true
size = 900 500
center = true
}
#############################################
# OTHER
#############################################
windowrule = match:class steam_proton|org.vinegarhq.Sober, allows_input on
# windowrulev2 = immediate, class:^(sober)$
# windowrulev2 = fullscreen,title:^(Sober)$