From 027fa12fc3fbc138dc8bbbb50b066735943d8b27 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 19 May 2026 15:16:09 +0100 Subject: revert: drop snxctl-chromium wrapper, snx-rs works with default browser now User confirms snx-rs's SAML loopback no longer needs chromium routing. Remove: - dot_local/bin/snxctl-chromium (PATH-override wrapper) - dot_local/share/snx-rs/bin/xdg-open (chromium shim) - snx-rs LibreWolf SAML note in user-overrides.js The waybar snx-vpn toggle now just runs `snxctl connect` detached, no wrapper indirection. --- dot_local/bin/executable_snxctl-chromium | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 dot_local/bin/executable_snxctl-chromium (limited to 'dot_local/bin') diff --git a/dot_local/bin/executable_snxctl-chromium b/dot_local/bin/executable_snxctl-chromium deleted file mode 100755 index c97b026..0000000 --- a/dot_local/bin/executable_snxctl-chromium +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# snxctl-chromium: `snxctl connect` with the flatpak ungoogled-chromium as -# the SAML browser. Bypasses LibreWolf's loopback HTTPS-upgrade + LNA block -# that stop snx-rs's 127.0.0.1:7779 SAML callback from completing. -# -# snxctl runs `opener::open(url)` in-process; opener on Linux execs -# `xdg-open` first. We prepend a private bin dir containing only an -# `xdg-open` shim that flatpak-runs ungoogled-chromium. No daemon -# tweaks needed — the override is scoped to this snxctl invocation. -set -eu - -SHIM_DIR="$HOME/.local/share/snx-rs/bin" - -if [ ! -x "$SHIM_DIR/xdg-open" ]; then - printf '%s: missing xdg-open shim at %s\n' "${0##*/}" "$SHIM_DIR/xdg-open" >&2 - exit 1 -fi - -PATH="$SHIM_DIR:$PATH" -export PATH -exec snxctl connect "$@" -- cgit v1.3.1