Skip to content

Conversation

@andnig
Copy link
Contributor

@andnig andnig commented Nov 13, 2025

I find it quite helpful to know the battery state of my connected peripherals.
This PR adds such an indicator to the very right of the waybar.
It uses upower under the hood and scans every 30 seconds for changes.

It adds this peripherals icon and on tooltip you get the status of the individual devices
image

The top-level icon on the waybar itself is white, if all devices are in the good state, gets yellow, if one or many of the devices are below the good threshold and red, if one or many of the devices are in critical state.
This should give a nice early warning, to charge the battery.

The migration itself should update the waybar config without overwriting custom configurations. While this is quite more complex than simply refreshing with the default waybar config, I think especially the waybar configuration might be customized quite frequently, so we might try to be careful here.

@andnig andnig changed the title Feature/peripheral battery icon bc feat: Add battery status of peripheral devices to waybar Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant