net_vpn
Whether this host is currently routing through a VPN tunnel. Badge (default) is a connected / disconnected pill — disconnected is Warn, since the widget exists because the user wants to know when the tunnel is down. Text names the active VPN interface and its address; TextBlock / MarkdownTextBlock / Entries list every active tunnel. Detects netdev Tunnel / Ppp types plus name-prefix fallback for WireGuard, OpenVPN-tun, IPsec, NordLynx, ProtonVPN, Cisco AnyConnect, and GlobalProtect.
| Kind | Safety | Shapes |
|---|---|---|
| cached | Safe | badge, text, text_block, markdown_text_block, entries |
Options
Section titled “Options”No options.
Compatible renderers
Section titled “Compatible renderers”| Shape | Renderers |
|---|---|
badge | animated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, status_badge |
text | animated_boot, animated_figlet_morph, animated_postfx, animated_scanlines, animated_splitflap, animated_typewriter, animated_wave, text_ascii, text_plain |
text_block | animated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_plain |
markdown_text_block | text_markdown |
entries | animated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_table |
Preview
Section titled “Preview”badge via status_badge
Section titled “badge via status_badge”● connected · tun0
[[widget]]id = "net_vpn"fetcher = "net_vpn"render = "status_badge"text via text_ascii
Section titled “text via text_ascii”█ █ ▜▛▜▖█▖▐▌ ▄ ▟ ▟▀▜▖ ▗█ ▟▀▜▖ ▟▀▙ ▟▀▜▖ █▀▀ █ █ ▐▙▟▘█▜▟▌ ▀ ▝█▀ █ █ █▀▙ █▗█▌ █ █▗█▌ ▜▄▛ █▗█▌ ▀▀▙ ▜▄▛ ▐▌ █ ▜▌ ▄ █▗ █ █ █ █ █▛▐▌ █ █▛▐▌ ▄ █ █ ▄ █▛▐▌ ▄ ▄ █ ▀ ▀▀ ▀ ▝▘ ▀ ▝▘ ▝▀▝▘▀ ▀ ▝▀▀ ▀▀▀ ▝▀▀ ▀ ▝▀▘ ▀ ▝▀▀ ▀ ▝▀▘
[[widget]]id = "net_vpn"fetcher = "net_vpn"render = "text_ascii"text via text_plain
Section titled “text via text_plain”VPN: tun0 · 10.8.0.5
[[widget]]id = "net_vpn"fetcher = "net_vpn"render = "text_plain"text_block via list_plain
Section titled “text_block via list_plain”tun0 10.8.0.5
[[widget]]id = "net_vpn"fetcher = "net_vpn"render = "list_plain"markdown_text_block via text_markdown
Section titled “markdown_text_block via text_markdown”- tun0 10.8.0.5
[[widget]]id = "net_vpn"fetcher = "net_vpn"render = "text_markdown"entries via grid_table
Section titled “entries via grid_table”tun0 10.8.0.5
[[widget]]id = "net_vpn"fetcher = "net_vpn"render = "grid_table"