diff options
| author | 2026-05-14 10:58:38 +0100 | |
|---|---|---|
| committer | 2026-05-14 10:58:38 +0100 | |
| commit | 0b506ac67c33939732bdd91d39a8a632bcbe0841 (patch) | |
| tree | a00dedd9691f349dcf4050eac970e24be66e331a /dot_config/systemd/user | |
| parent | eb807c911f2c364c1c8a8bd67026b997f2b0d2f0 (diff) | |
| download | dotfiles-0b506ac67c33939732bdd91d39a8a632bcbe0841.tar.gz dotfiles-0b506ac67c33939732bdd91d39a8a632bcbe0841.tar.bz2 dotfiles-0b506ac67c33939732bdd91d39a8a632bcbe0841.zip | |
refactor(snxctl-chromium): drop daemon drop-in, override snxctl's PATH
snx-rs.service is a system unit, not --user, so the prior approach of
overriding the daemon's PATH via a systemd drop-in could never apply.
And it wasn't needed anyway: snxctl itself runs opener::open(url)
in-process, so prepending the shim dir to snxctl's PATH is enough.
- Drop dot_config/systemd/user/snx-rs.service.d/10-chromium-saml.conf.
- snxctl-chromium now just sets PATH and exec's snxctl connect.
- xdg-open shim no longer forces --new-window so chromium can reuse a
warm window (faster SAML round-trip).
Diffstat (limited to 'dot_config/systemd/user')
| -rw-r--r-- | dot_config/systemd/user/snx-rs.service.d/10-chromium-saml.conf | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/dot_config/systemd/user/snx-rs.service.d/10-chromium-saml.conf b/dot_config/systemd/user/snx-rs.service.d/10-chromium-saml.conf deleted file mode 100644 index a5380e3..0000000 --- a/dot_config/systemd/user/snx-rs.service.d/10-chromium-saml.conf +++ /dev/null @@ -1,10 +0,0 @@ -[Service] -# Force snx-rs to use the flatpak ungoogled-chromium as its SAML browser. -# snx-rs calls `xdg-open <url>` via the `opener` crate. Prepending a private -# PATH dir that contains an `xdg-open` shim makes the daemon find our shim -# first, without affecting xdg-open for any other user process. -# -# Why not the system default browser? LibreWolf force-upgrades loopback to -# HTTPS and enables LNA blocking, both of which break snx-rs's plain-HTTP -# 127.0.0.1:7779 SAML callback. See firefox/user-overrides.js comments. -Environment=PATH=%h/.local/share/snx-rs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
