<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotfiles/etc/polkit-1/rules.d/50-networkd-wheel.rules, branch master</title>
<subtitle>My linux config and rc files</subtitle>
<id>https://git.sommerfeld.dev/dotfiles/atom/etc/polkit-1/rules.d/50-networkd-wheel.rules?h=master</id>
<link rel='self' href='https://git.sommerfeld.dev/dotfiles/atom/etc/polkit-1/rules.d/50-networkd-wheel.rules?h=master'/>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/'/>
<updated>2026-05-13T12:43:33Z</updated>
<entry>
<title>feat(waybar,sway): htop click handler, app keybinds, VPN toggle</title>
<updated>2026-05-13T12:43:33Z</updated>
<author>
<name>sommerfeld</name>
<email>sommerfeld@sommerfeld.dev</email>
</author>
<published>2026-05-13T12:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.sommerfeld.dev/dotfiles/commit/?id=da1de8c64955f2ca5bb4891764e4b183f4250566'/>
<id>urn:sha1:da1de8c64955f2ca5bb4891764e4b183f4250566</id>
<content type='text'>
waybar:
- cpu / custom/memory: on-click opens floating ghostty with htop
- new custom/vpn module between custom/memory and network#bond:
  shows 'VPN' coloured by interface UP flag (green up, dim down);
  on-click toggles networkctl up/down hodor; SIGRTMIN+8 used for
  instant refresh after toggle

sway:
- Super+Shift+Return -&gt; ghostty -e yazi
- Super+Shift+b -&gt; librewolf

vpn-toggle.sh runs networkctl (no sudo) thanks to a new polkit rule
allowing wheel-group members to invoke org.freedesktop.network1.*
without a password prompt. systemd-networkd's polkit gate is a
separate path from sudoers, so this is the idiomatic fix.

KEYBINDS.md updated for both new sway bindings.
</content>
</entry>
</feed>
