Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
5.83k stars 657 forks source link

Add config option to select UPower device based on device model. #3267

Closed luttermann closed 2 days ago

luttermann commented 1 month ago

This is useful for wireless HID devices, as they often do not have the same native-path when re-connected.

luttermann commented 1 month ago

This is stil not using a filer function, but does away with the code duplication, if you want to have a filter function instead, I will look into that. But I don't have a lot of time currently, so it may take a while. Anybody who have any pointers/ideas are welcome to comment or PR my code.