[Hyprland] Migrates to new lua-based config

This commit is contained in:
2026-05-31 14:41:17 -07:00
parent 07280e20ea
commit 32393d5ffe
20 changed files with 1168 additions and 625 deletions

View File

@@ -108,24 +108,25 @@ in
};
};
wayland.windowManager.hyprland.settings.windowrule = [
# Set up full-screen games on monitor 1 (since window 0 is the vertical one.)
# "match:class ^steam_app_\d+$, float"
"match:class ^steam_app_\d+$, fullscreen 1, monitor 1"
"match:class ^steam_app_\d+$, center on"
# Make sure WoW spawns on the right monitor and that Battlenet floats so it renders correctly
"match:title ^World of Warcraft$, monitor 1"
"match:title ^World of Warcraft$, fullscreen on"
"match:title ^Battle.net$, monitor 1"
"match:title ^Battle.net$, float on"
# Make Balatro into a regular window.
"match:title ^Balatro$, monitor 1"
"match:title ^Balatro$, tile on"
# Load Cyberpunk 2077 on the right monitor.
"match:class steam_app_1091500, monitor 1"
"match:class steam_app_1091500, fullscreen on"
];
# TODO: Merge into config
# wayland.windowManager.hyprland.settings.windowrule = [
# # Set up full-screen games on monitor 1 (since window 0 is the vertical one.)
# # "match:class ^steam_app_\d+$, float"
# "match:class ^steam_app_\d+$, fullscreen 1, monitor 1"
# "match:class ^steam_app_\d+$, center on"
#
# # Make sure WoW spawns on the right monitor and that Battlenet floats so it renders correctly
# "match:title ^World of Warcraft$, monitor 1"
# "match:title ^World of Warcraft$, fullscreen on"
# "match:title ^Battle.net$, monitor 1"
# "match:title ^Battle.net$, float on"
#
# # Make Balatro into a regular window.
# "match:title ^Balatro$, monitor 1"
# "match:title ^Balatro$, tile on"
#
# # Load Cyberpunk 2077 on the right monitor.
# "match:class steam_app_1091500, monitor 1"
# "match:class steam_app_1091500, fullscreen on"
# ];
}