konishi/hyprland: launch Steam games fullscreen on DP-1
CI / lint (push) Successful in 1m6s
CI / eval (push) Failing after 2m23s

Steam/Proton titles run under XWayland with WM_CLASS steam_app_<appid>.
Without a rule they open tiled on whatever monitor Steam is on (the
primary, bottom-left HDMI-A-1). Match steam_app_.* and send them
fullscreen to workspace 6 (DP-1, top-left). Native games use their own
class and can be added individually.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Miguel Palhas
2026-07-04 14:16:29 +01:00
parent fa9be89d68
commit e4b96ba019
+9
View File
@@ -60,6 +60,15 @@
"float on, match:title egui-.*"
"no_blur on, match:title egui-.*"
"move 100%-w-20 100%-h-20, match:title egui-.*"
# gaming: Steam/Proton titles run under XWayland with WM_CLASS
# steam_app_<appid>. Send them fullscreen to workspace 6 (DP-1, top-left)
# instead of opening tiled on whatever monitor Steam is on.
# Native (non-Proton) games have their own class — grab it with
# `hyprctl clients | grep -iE "class|title"` while the game runs and add a
# matching line here.
"workspace 6, match:class steam_app_.*"
"fullscreen on, match:class steam_app_.*"
];
render = {