some gaming optimizations

This commit is contained in:
pika 2025-04-05 18:36:50 +02:00
parent ef7a530ca2
commit da6d5fc800

View file

@ -16,7 +16,7 @@ $terminal = ghostty
workspace = 1, monitor:$main, persitent:true
workspace = 2, monitor:$secondary, persitent:true
workspace = 3, monitor:$main, persitent:true
workspace = 4, monitor:$secondary, persitent:true
workspace = 4, monitor:$secondary, persitent:true, inactive_opacity:1
workspace = 5, monitor:$main
workspace = 6, monitor:$main
workspace = 7, monitor:$secondary
@ -26,7 +26,7 @@ workspace = 9, monitor:$main, persistent:true, allow-tearing:true
workspace = 69, monitor:$main, persistent:true, allow-tearing:true, gapsin:0, gapsout:0, rounding:0, border:0
# ────────────────────────────────────────< specials >────────────────────────────────────────
workspace = special:magic, monitor:$main, on-created-empty:$terminal
workspace = special:magic, monitor:$main, on-created-empty:$terminal, border:0
# workspace = 0, monitor:HDMI-1
@ -80,7 +80,6 @@ general {
extend_border_grab_area = false
resize_on_border = true
allow_tearing = false
# layout = master
layout = dwindle
@ -91,23 +90,35 @@ general {
monitor_gap = 24
border_overlap = false
}
allow_tearing = false
}
windowrule = immediate, class:^(cs2)$
windowrule = immediate, class:^(steam)$
windowrule = immediate, class:^(GDLauncher)$
# windowrule = immediate, class:^(cs2)$
# windowrule = immediate, class:^(cs2)$
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 2
rounding = 4
rounding_power = 7
# Change transparency of focused and unfocused windows
active_opacity = 1.0
inactive_opacity = 1.0
active_opacity = 0.98
# inactive_opacity = 0.284
# fullscreen_opacity = 1
dim_inactive = true
dim_strength = 0.3
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 3
size = 5
passes = 2
vibrancy = 0.1696
vibrancy = 0.01696
}
}
@ -211,9 +222,12 @@ animations {
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
vrr = 2
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
enable_swallow = true
swallow_regex = ^(ghostty|wezterm-gui|kitty|Alacritty|foot)$
animate_manual_resizes = true
animate_mouse_windowdragging = true
new_window_takes_over_fullscreen = 2
}