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

Edit Widget, Network panel does not distinguish eth0 and wlan0. #14

Open
zcot opened this issue Nov 23, 2019 · 0 comments
Open

Edit Widget, Network panel does not distinguish eth0 and wlan0. #14

zcot opened this issue Nov 23, 2019 · 0 comments
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@zcot
Copy link
Owner

zcot commented Nov 23, 2019

config snippet BEFORE:

${if_up eth0}${color2}ETHERNET (${addr eth0}) ${hr 2}${color}

   Down: ${downspeedf eth0}kB/s ${alignr}Up: ${upspeedf eth0}kB/s${endif}

${if_up wlan0}${color2}WIRELESS (${addr wlan0}) [${wireless_link_qual_perc wlan0}%] ${hr 2}${color}

   Down: ${downspeedf wlan0}kB/s ${alignr}Up: ${upspeedf wlan0}kB/s${endif}

snippet AFTER edit eth0:

${if_up enp4s0}${color2}ETHERNET (${addr enp4s0}) ${hr 2}${color}

   Down: ${downspeedf enp4s0}kB/s ${alignr}Up: ${upspeedf enp4s0}kB/s

${if_up enp4s0}${color2}WIRELESS (${addr enp4s0}) [${wireless_link_qual_perc enp4s0}%] ${hr 2}${color}

   Down: ${downspeedf enp4s0}kB/s ${alignr}Up: ${upspeedf enp4s0}kB/s

So the code is not distinguishing the difference, just using replacement on both eth0 and wlan0.

@zcot zcot added bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant