From cb0bcdb94c7428ede00e75975763c283854c87b7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Apr 2026 13:09:47 +0000 Subject: [PATCH 1/2] Initial plan From 78b08758f10b05c3caf80767da906f7d6e37118b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Apr 2026 13:17:09 +0000 Subject: [PATCH 2/2] fix: brave --app mode, StartupWMClass, and icon PNGs for Sovran Hub dock Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/6f932322-cc0e-4fff-aca1-b853770c0817 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- modules/core/sovran-hub.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/core/sovran-hub.nix b/modules/core/sovran-hub.nix index 4063ce4..905b531 100644 --- a/modules/core/sovran-hub.nix +++ b/modules/core/sovran-hub.nix @@ -213,7 +213,7 @@ let # ── Hub auto-launch wrapper script ──────────────────────────────── hub-autolaunch-script = pkgs.writeShellScript "sovran-hub-autolaunch.sh" '' - export PATH="${lib.makeBinPath [ pkgs.curl pkgs.xdg-utils ]}:$PATH" + export PATH="${lib.makeBinPath [ pkgs.curl pkgs.brave ]}:$PATH" DISABLE_FLAG="/var/lib/sovran/hub-autolaunch-disabled" BOOT_FLAG="/run/sovran-hub-autolaunch-done" @@ -232,7 +232,7 @@ let sleep 1 done - xdg-open http://localhost:8937 + brave --app=http://localhost:8937 --class=sovran-hub ''; sovran-hub-web = pkgs.python3Packages.buildPythonApplication { @@ -278,11 +278,13 @@ let Type=Application Name=Sovran Hub Comment=Open Sovran_SystemsOS Hub dashboard -Exec=xdg-open http://localhost:8937 +Exec=brave --app=http://localhost:8937 --class=sovran-hub Icon=sovran-hub Terminal=false Categories=System; -StartupNotify=false +StartupNotify=true +StartupWMClass=sovran-hub +X-GNOME-SingleWindow=true DESKTOP install -d $out/bin