From e4680c49a1f7fc7a9b7576e2c44aed8e38602c60 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 19 Feb 2026 10:39:36 +0100 Subject: Add hyprland steam window rules and possible video driver values --- roles/hyprland/templates/envs.conf.j2 | 1 + roles/hyprland/templates/rules.conf.j2 | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'roles') diff --git a/roles/hyprland/templates/envs.conf.j2 b/roles/hyprland/templates/envs.conf.j2 index afd84a20..e96c9a57 100644 --- a/roles/hyprland/templates/envs.conf.j2 +++ b/roles/hyprland/templates/envs.conf.j2 @@ -11,6 +11,7 @@ env = GDK_BACKEND,wayland,x11,* env = QT_QPA_PLATFORM,wayland;xcb env = QT_STYLE_OVERRIDE,kvantum env = SDL_VIDEODRIVER,wayland +# env = SDL_VIDEODRIVER,wayland,x11,windows env = MOZ_ENABLE_WAYLAND,1 env = ELECTRON_OZONE_PLATFORM_HINT,wayland env = OZONE_PLATFORM,wayland diff --git a/roles/hyprland/templates/rules.conf.j2 b/roles/hyprland/templates/rules.conf.j2 index 2a7d41ac..34253bdb 100644 --- a/roles/hyprland/templates/rules.conf.j2 +++ b/roles/hyprland/templates/rules.conf.j2 @@ -29,3 +29,9 @@ windowrule = opacity 1.0 override 0.97 override, match:tag firefox-based-browser # Pinentry windows windowrule = match:class (pinentry-)(.*), stay_focused on + +# Steam windows +windowrule = float on, match:class steam +windowrule = center on, match:class steam, match:title Steam +windowrule = opacity 1.0 override 1.0 override, match:title Steam +windowrule = size 460 800, match:class steam, match:title Friends List -- cgit v1.2.3