Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wired network indicator missing vpn icon #31

Open
trooper91 opened this issue Oct 6, 2020 · 1 comment
Open

wired network indicator missing vpn icon #31

trooper91 opened this issue Oct 6, 2020 · 1 comment

Comments

@trooper91
Copy link

hey there,
i ve installed your plugin and it seems to work. if i am connected to the network the indicator is white and red otherwise. but when i am connected to a vpnc vpn which should work regarding your readme there is no change of the indicator icon. even if i restart awesome the indicator icon doesn't change.
the config part of net_widgets looks like this

--net_widgets
net_wired = net_widgets.indicator({
    interfaces  = {"tun0", "eno1"},
    timeout     = 5,
    skipvpncheck = false
})

do i miss something? i even played around with the interfaces. if i am using tun0 only (which is my vpn connection) the indicator goes red.

@brisk0
Copy link

brisk0 commented Nov 25, 2020

I had a similar issue, which I could fix by commenting out the following lines in indicator.lua:

35   if args.skipvpncheck == nil or args.skiproutes or args.skipcmdline then
36     args.skipvpncheck = true
37   end

This line turns off vpncheck if skiproutes or skipcmdline are enabled (which they are by default). As far as I can tell neither of these is necessary for the VPN check function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants