[hyprland] Adds some gaming window rules
This commit is contained in:
@@ -90,4 +90,21 @@ in
|
|||||||
comment = "Raider.io Client";
|
comment = "Raider.io Client";
|
||||||
categories = [ "Game" ];
|
categories = [ "Game" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland.settings.windowrulev2 = [
|
||||||
|
# Set up full-screen games on monitor 1 (since window 0 is the vertical one.)
|
||||||
|
"monitor 1,class:^steam_app_\d+$"
|
||||||
|
"float,class:^steam_app_\d+$"
|
||||||
|
"monitor 1,fullscreen:1"
|
||||||
|
"center,class:^steam_app_\d+$"
|
||||||
|
|
||||||
|
# Make sure WoW spawns on the right monitor and that Battlenet floats so it renders correctly
|
||||||
|
"monitor 1,title:^World of Warcraft$"
|
||||||
|
"monitor 1,title:^Battle.net$"
|
||||||
|
"float,title:^Battle.net$"
|
||||||
|
|
||||||
|
# Make Balatro into a regular window.
|
||||||
|
"monitor 1,title:^Balatro$"
|
||||||
|
"tile,title:^Balatro$"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -394,16 +394,6 @@
|
|||||||
"opaque,class:(),title:()"
|
"opaque,class:(),title:()"
|
||||||
"noshadow,class:(),title:()"
|
"noshadow,class:(),title:()"
|
||||||
"noblur,class:(),title:()"
|
"noblur,class:(),title:()"
|
||||||
|
|
||||||
# Set up full-screen games on monitor 1
|
|
||||||
"monitor 1,class:^steam_app_\d+$"
|
|
||||||
"float,class:^steam_app_\d+$"
|
|
||||||
"monitor 1,fullscreen:1"
|
|
||||||
"center,class:^steam_app_\d+$"
|
|
||||||
|
|
||||||
"monitor 1,title:^World of Warcraft$"
|
|
||||||
"monitor 1,title:^Battle.net$"
|
|
||||||
"float,title:^Battle.net$"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|||||||
Reference in New Issue
Block a user