i3blocks-contrib icon indicating copy to clipboard operation
i3blocks-contrib copied to clipboard

iface/bandwidth: fix display when using VPN

Open kuepe-sl opened this issue 4 years ago • 1 comments

The scripts rely on "ip route" output of the format default via IP dev INTERFACE ... However, when using VPNs the output may be default dev INTERFACE ...

The additional sed command removes everything between "default" and "dev" in order to fix this issue.

kuepe-sl avatar Mar 18 '20 19:03 kuepe-sl

any update on this PR?

@jolange @da-edra I'd like to check this PR.

yutkat avatar Aug 28 '20 02:08 yutkat