summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-02-19 10:39:36 +0100
committerAhmed Abdelhalim <[email protected]>2026-02-19 10:39:36 +0100
commite4680c49a1f7fc7a9b7576e2c44aed8e38602c60 (patch)
tree8a5bfbf18f8698c37f8b4690d8badf790caecf23
parent7d7454db67c5e51308d482fbc1d369bef6cbb711 (diff)
Add hyprland steam window rules and possible video driver values
-rw-r--r--roles/hyprland/templates/envs.conf.j21
-rw-r--r--roles/hyprland/templates/rules.conf.j26
2 files changed, 7 insertions, 0 deletions
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