Skip to content

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.

KindSafetyShapes
cachedSafebadge, text, text_block, markdown_text_block, entries

No options.

ShapeRenderers
badgeanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, status_badge
textanimated_boot, animated_figlet_morph, animated_postfx, animated_scanlines, animated_splitflap, animated_typewriter, animated_wave, text_ascii, text_plain
text_blockanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_plain
markdown_text_blocktext_markdown
entriesanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_table
● connected · tun0                      
[[widget]]
id = "net_vpn"
fetcher = "net_vpn"
render = "status_badge"
█ █ ▜▛▜▖█▖▐▌ ▄       ▟          ▟▀▜▖            ▗█  ▟▀▜▖    ▟▀▙     ▟▀▜▖    █▀▀ 
█ █ ▐▙▟▘█▜▟▌ ▀      ▝█▀ █ █ █▀▙ █▗█▌     ▗▖      █  █▗█▌    ▜▄▛     █▗█▌    ▀▀▙ 
▜▄▛ ▐▌  █ ▜▌ ▄       █▗ █ █ █ █ █▛▐▌     ▝▘      █  █▛▐▌ ▄  █ █  ▄  █▛▐▌ ▄  ▄ █ 
 ▀  ▀▀  ▀ ▝▘ ▀       ▝▘ ▝▀▝▘▀ ▀ ▝▀▀             ▀▀▀ ▝▀▀  ▀  ▝▀▘  ▀  ▝▀▀  ▀  ▝▀▘ 
                                                                                
[[widget]]
id = "net_vpn"
fetcher = "net_vpn"
render = "text_ascii"
VPN: tun0 · 10.8.0.5                    
                                        
[[widget]]
id = "net_vpn"
fetcher = "net_vpn"
render = "text_plain"
tun0  10.8.0.5                          
                                        
                                        
                                        
[[widget]]
id = "net_vpn"
fetcher = "net_vpn"
render = "list_plain"
- tun0 10.8.0.5                         
                                        
                                        
                                        
                                        
[[widget]]
id = "net_vpn"
fetcher = "net_vpn"
render = "text_markdown"
tun0                            10.8.0.5
                                        
                                        
                                        
                                        
[[widget]]
id = "net_vpn"
fetcher = "net_vpn"
render = "grid_table"