From e59575780c3671dccdf082752535033e4c346f67 Mon Sep 17 00:00:00 2001 From: rope Date: Sun, 17 May 2026 19:48:50 +0100 Subject: [PATCH] hyprland: hide Battle.net tray icon window The Battle.net agent leaks a tiny floating XWayland window (steam_app_0, empty title, 160x20) that isn't captured by the Wayland tray. Send it to the special workspace silently. Co-Authored-By: Claude Sonnet 4.6 --- settings/hyprland.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index eb90b6a..15b3953 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -108,6 +108,13 @@ in settings = { # monitor is set per-host in hosts/FredOS-{Gaming,Macbook}.nix + + # Battle.net tray icon leaks as a tiny floating XWayland window with + # class steam_app_0 and an empty title — send it to the void. + windowrulev2 = [ + "workspace special silent, class:^(steam_app_0)$, title:^()$, floating:1" + ]; + env = [ # Clear the LD_PRELOAD set by the start-hyprland wrapper so it # doesn't leak into child processes (Steam, games, etc.).