[module/wireguard] type = custom/script exec = ~/.config/polybar/scripts/wireguard-is-connected click-left = ~/.config/polybar/scripts/toggle-wireguard interval = 5