From 340c1cd0f58dbcd2e8e027ab2f82bba373be171f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 00:52:07 +0000 Subject: [PATCH] Fix GNOME dock icon matching for Sovran Hub on Wayland - Change StartupWMClass from 'sovran-hub' to 'brave-localhost__-Default' in the .desktop file so GNOME Shell matches the window to the correct launcher - Remove --gtk-application-id and --wayland-app-id flags from hub-brave-wrapper since Brave ignores them in --app= mode on Wayland Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/daa85aaf-5b87-448d-8336-d94dc2dfe727 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- modules/core/sovran-hub.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/core/sovran-hub.nix b/modules/core/sovran-hub.nix index f58df6c..c8a5c36 100644 --- a/modules/core/sovran-hub.nix +++ b/modules/core/sovran-hub.nix @@ -223,13 +223,11 @@ let export GIO_LAUNCHED_DESKTOP_FILE="/run/current-system/sw/share/applications/sovran-hub.desktop" brave --app=http://localhost:8937 \ --class=sovran-hub \ - --gtk-application-id=sovran-hub \ --user-data-dir="$HUB_DATA" \ --password-store=basic \ --disable-gpu \ --disable-features=WebRtcPipeWireCapturer \ - --ozone-platform=wayland \ - --wayland-app-id=sovran-hub + --ozone-platform=wayland ''; # ── Hub auto-launch wrapper script ──────────────────────────────── @@ -304,7 +302,7 @@ Icon=sovran-hub Terminal=false Categories=System; StartupNotify=true -StartupWMClass=sovran-hub +StartupWMClass=brave-localhost__-Default X-GNOME-SingleWindow=true DESKTOP