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 <noreply@anthropic.com>
This commit is contained in:
rope 2026-05-17 19:48:50 +01:00
parent db413ad808
commit e59575780c

View file

@ -108,6 +108,13 @@ in
settings = { settings = {
# monitor is set per-host in hosts/FredOS-{Gaming,Macbook}.nix # 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 = [ env = [
# Clear the LD_PRELOAD set by the start-hyprland wrapper so it # Clear the LD_PRELOAD set by the start-hyprland wrapper so it
# doesn't leak into child processes (Steam, games, etc.). # doesn't leak into child processes (Steam, games, etc.).