Waybar: Network indicator doesn't work with systemd-networkd/iwd

First of all great work, it’s really cool!

I used to use NetworkManager+wpa_supplicant to manage my networks. I’ve since switched to systemd-networkd+iwd and I’ve noticed that the “network” part of Waybar doesn’t autoupdate if for example restart my net (via ip link set wlp60s0 down && ip link set wlp60s0 up. It registers the disconnect just fine, but I have to kill Waybar and start it anew if I want it to update.

It’s the same thing after suspend. I know my computer connects to the wifi just fine, but Waybar doesn’t register it.

Can I provide any debug logs?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 19 (11 by maintainers)

Most upvoted comments

I’ll test with your configuration as soon as I can 😉

I should first add, I don’t know if this is useful. My Sway config loads Waybar automatically, and I needed to reload my config which resulted in two waybars. I then turned off the wifi by clicking the network icon (which runs a simple bash script). Now you’re warned.

https://transfer.sh/11K1l8/backtrace1.log

I will of course post another backtrace if I happen to catch it crashing 😃

Build with debug flag meson build --buildtype=debug ninja -C build And after use gdb to launch waybar gdb ./build/waybar Type run and hit enter Now try to reproduce the crash but when the crash will occur, the bar will be frozen so get back to gdb and type bt full and send me the output :p

Have you pushed them to master? If so then it still doesn’t work.