<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/dot_config/waybar/executable_snx-vpn-toggle.sh, branch master</title>
<subtitle>My linux config and rc files</subtitle>
<id>https://git.sommerfeld.dev/dotfiles/atom/dot_config/waybar/executable_snx-vpn-toggle.sh?h=master</id>
<link rel='self' href='https://git.sommerfeld.dev/dotfiles/atom/dot_config/waybar/executable_snx-vpn-toggle.sh?h=master'/>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/'/>
<updated>2026-05-20T13:01:04Z</updated>
<entry>
<title>fix(waybar): refactor A &amp;&amp; B || C patterns to avoid shellcheck SC2015</title>
<updated>2026-05-20T13:01:04Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-05-20T13:01:04Z</published>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/commit/?id=d90f59f78b7312da3ed55738a1d2fa11baa78843'/>
<id>urn:sha1:d90f59f78b7312da3ed55738a1d2fa11baa78843</id>
<content type='text'>
Older shellcheck (Ubuntu's in CI) flags '[ test ] &amp;&amp; cmd || true'
as SC2015 because, despite the intent, A &amp;&amp; B || C is not
equivalent to if-then-else (C runs when A is true but B fails).
Replace with explicit 'if … fi' or split into two 'A || continue'
guards. Functionally identical, lint-clean across versions.
</content>
</entry>
<entry>
<title>revert: drop snxctl-chromium wrapper, snx-rs works with default browser now</title>
<updated>2026-05-19T14:16:09Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-05-19T14:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/commit/?id=027fa12fc3fbc138dc8bbbb50b066735943d8b27'/>
<id>urn:sha1:027fa12fc3fbc138dc8bbbb50b066735943d8b27</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>feat(waybar): snx-rs VPN status indicator + click toggle</title>
<updated>2026-05-14T09:58:38Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-05-14T09:58:38Z</published>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/commit/?id=ec3fa96850ff534a241f7ebf2e4cdc13efdf3891'/>
<id>urn:sha1:ec3fa96850ff534a241f7ebf2e4cdc13efdf3891</id>
<content type='text'>
New custom/snx-vpn module sits next to custom/vpn (the wireguard one):

- snx-vpn-status.sh shells out to `snxctl status` (timeout 2s) and maps
  the output to three states: down (grey strikethrough), connecting/MFA
  (amber), up (green). Tooltip shows the full status block when up.
- snx-vpn-toggle.sh disconnects when up, runs snxctl-chromium detached
  when down (so SAML lands in the flatpak ungoogled-chromium without
  blocking waybar). Both paths refresh the module via SIGRTMIN+9.
</content>
</entry>
</feed>
