You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm using a device with two possible power inputs: normal AC and a USB-C Port, which is listed in /sys/class/power_supply as ucsi-source-psy-USBC000:001. I can only select one of them to adjust the battery module, when I charge using the other the module is not aware of it.
Why does polybar need this feature?
There are increasingly amounts of devices with multiple charging adapters.
Describe the solution you'd like
It would be great to provide multiple adapters, so the module can check them both for charging input.
Describe alternatives you've considered
I can use two battery modules, but it kinda clutters my bar.
The text was updated successfully, but these errors were encountered:
If you build from master, you might be able to jury-rig a solution by using the new module visibility commands. The IPC is on master right now, and I just submitted a PR (#2426) to change the IPC commands to actions. Then, you could write a script that would detect when an adapter is plugged in and show/hide the correct module.
This is a temporary solution, however. I will look into this a little further.
Is your feature request related to a problem? Please describe.
I'm using a device with two possible power inputs: normal
AC
and a USB-C Port, which is listed in/sys/class/power_supply
asucsi-source-psy-USBC000:001
. I can only select one of them to adjust the battery module, when I charge using the other the module is not aware of it.Why does polybar need this feature?
There are increasingly amounts of devices with multiple charging adapters.
Describe the solution you'd like
It would be great to provide multiple adapters, so the module can check them both for charging input.
Describe alternatives you've considered
I can use two battery modules, but it kinda clutters my bar.
The text was updated successfully, but these errors were encountered: