update: modules/hypr/hyprland.nix

This commit is contained in:
2026-02-22 20:04:49 +01:00
parent 11d499d944
commit a73a987003

View File

@@ -311,108 +311,116 @@
}; };
extraConfig = '' extraConfig = ''
windowrule { windowrule {
name = pavucontrol-float name = pavucontrol-float
match:class = ^(org.pulseaudio.pavucontrol)$ match:class = ^(org.pulseaudio.pavucontrol)$
float = 1 float = 1
size = 80% 60% size = 80% 60%
stay_focused = 1 stay_focused = 1
center = 1 center = 1
pin = 1 pin = 1
} }
windowrule { windowrule {
name = share-picker-float name = share-picker-float
match:class = ^(hyprland-share-picker)$ match:class = ^(hyprland-share-picker)$
float = 1 float = 1
center = 1 center = 1
pin = 1 pin = 1
} }
windowrule { windowrule {
name = steam-friends-list name = steam-friends-list
match:title = ^(Lista znajomych)$ match:title = ^(Lista znajomych)$
float = 1 float = 1
center = 1 center = 1
size = 40% 60% size = 40% 60%
} }
windowrule { windowrule {
name = vesktop-dont-focus-pls name = vesktop-dont-focus-pls
match:class = ^(vesktop)$ match:class = ^(vesktop)$
no_initial_focus = 1 no_initial_focus = 1
focus_on_activate = 0 focus_on_activate = 0
render_unfocused = 1 render_unfocused = 1
} }
windowrule { windowrule {
name = xdg-desktop-portal-gtk name = xdg-desktop-portal-gtk
match:class = ^(xdg-desktop-portal-gtk)$ match:class = ^(xdg-desktop-portal-gtk)$
float = 1 float = 1
center = 1 center = 1
size = 55% 50% size = 55% 50%
} }
windowrule { windowrule {
name = picture-in-picture name = picture-in-picture
match:title = ^(Obraz w obrazie)$ match:title = ^(Obraz w obrazie)$
pseudo = 1 pseudo = 1
no_initial_focus = 1 no_initial_focus = 1
} }
windowrule { windowrule {
name = login-google-zen name = login-google-zen
match:title = ^(Logowanie – Konta Google — Zen Browser)$ match:title = ^(Logowanie – Konta Google — Zen Browser)$
float = 1 float = 1
center = 1 center = 1
} }
windowrule { windowrule {
name = prism-launcher name = prism-launcher
match:class = ^(org.prismlauncher.PrismLauncher)$ match:class = ^(org.prismlauncher.PrismLauncher)$
workspace = 3 workspace = 3
} }
windowrule { windowrule {
name = gamescope name = gamescope
match:class = ^(gamescope)$ match:class = ^(gamescope)$
workspace = 3 workspace = 3
} }
monitorv2 {
output = DP-1
mode = 2560x1440@180.06
position = 0x0
scale = 1
vrr = 1
supports_wide_color = 1
bitdepth = 10
sdr_min_luminance = 0.005
sdr_max_luminance = 220
cm = hdr
supports_hdr = 1
}
monitorv2 {
output = DP-2
mode = 1920x1080@144
position = auto-left
vrr = 1
scale = 1.0
}
monitorv2 {
output = HDMI-A-2
mode = highres
position = auto-up
scale = 1
}
# for laptop
monitorv2 { monitorv2 {
output = DP-1 output = eDP-1
mode = 2560x1440@180.06 mode = highres
position = 0x0 position = 0x0
scale = 1 scale = 1
vrr = 1 }
supports_wide_color = 1
bitdepth = 10
sdr_min_luminance = 0.005
sdr_max_luminance = 220
cm = hdr
supports_hdr = 1
}
monitorv2 { monitorv2 {
output = DP-2 output =
mode = 1920x1080@144 position = auto-right
position = auto-left scale = 1
vrr = 1 }
scale = 1.0
}
monitorv2 {
output = HDMI-A-2
mode = highres
position = auto-up
scale = 1
}
monitorv2 {
output =
position = auto-right
scale = 1
}
''; '';
}; };
} }