polybar-dwm/include/adapters
Patrick Ziegler 4d90ac2f4c
fix(net): Use canonical interface name (#2540)
One can define an 'altname' for an interface. That name is valid of
if_nametoindex but it doesn't appear in `/sys/class/net`:

```
sudo ip link property add dev enp0s31f6 altname eno
```

This creates an altname eno for the existing interface enp0s31f6

Before, using eno, would lead to an error in `realpath`.

Ref: https://www.reddit.com/r/Polybar/comments/q8f0ye/error_disabling_module_network_reason_realpath/hgqpq1m/?context=3
2021-10-15 17:36:32 +02:00
..
alsa Add FreeBSD Support (#931) 2018-03-21 23:35:10 +01:00
mpd.hpp feat(mpd): add support for MPD_TAG_ALBUM_ARTIST 2018-05-31 20:12:23 -07:00
net.hpp fix(net): Use canonical interface name (#2540) 2021-10-15 17:36:32 +02:00
pulseaudio.hpp Fix build with clang++ 3.4 (#2279) 2020-12-12 01:07:51 +01:00
script_runner.hpp script: Fix concurrency issues (#2518) 2021-10-03 01:27:11 +02:00