refactor: hyprland

This commit is contained in:
2026-04-27 18:43:01 +02:00
parent 3fd48c0e3b
commit cf87e02dd1
13 changed files with 609 additions and 478 deletions

View File

@@ -0,0 +1,41 @@
{ ... }:
{
wayland.windowManager.hyprland = {
windowrule = [
"match:class ^(steam)$, workspace 3 silent"
"match:class ^(heroic)$, workspace 3"
"match:class ^(net.lutris.Lutris)$, workspace 3"
"match:class ^(rpcs3)$, workspace 3"
];
bind = [
"$mainMod Control_L, g, exec, uwsm app -- steam"
"$mainMod Control_L, g, focuswindow, class:^(steam)$"
];
extraConfig =
#hyprlang
''
windowrule {
name = steam-friends-list
match:title = ^(Lista znajomych)$
float = 1
center = 1
size = 40% 60%
}
windowrule {
name = prism-launcher
match:class = ^(org.prismlauncher.PrismLauncher)$
workspace = 3
}
windowrule {
name = gamescope
match:class = ^(gamescope)$
workspace = 3
}
'';
};
}