mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-10-28 11:10:42 +01:00
refactor: hyprland
This commit is contained in:
41
modules/hypr/hyprland/apps/games.nix
Normal file
41
modules/hypr/hyprland/apps/games.nix
Normal 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
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user