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.
Nope. Just switched to polybar and miss this particular feature.
Why does polybar need this feature?
Currently, filesystem modules have only 2 modes: mounted or unmounted. This is useful in some cases (e.g. network or USB storage mounts), but doesn't capture a more frequent issue when a mount runs out of free space. Other bars support some variants of conditioned appearance in such cases. It would be cool if Polybar caught up.
Describe the solution you'd like
I propose to replicate the scheme used in the temperature module:
add a new warn mode to allow appearance customization when the free space is low,
add a new warn-space attribute to control when the warn mode is activated; its value could either be a 0-1 float (percentage of the total capacity) or a value in bytes, if the value is negative (which could be the default for compatibility reasons), the warn mode would be permanently disabled
Describe alternatives you've considered
The same can be done with a custom shell script, but that in my opinion introduces too much overhead. It would be nice to have the same thing along with the low memory footprint of Polybar.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Nope. Just switched to polybar and miss this particular feature.
Why does polybar need this feature?
Currently, filesystem modules have only 2 modes: mounted or unmounted. This is useful in some cases (e.g. network or USB storage mounts), but doesn't capture a more frequent issue when a mount runs out of free space. Other bars support some variants of conditioned appearance in such cases. It would be cool if Polybar caught up.
Describe the solution you'd like
I propose to replicate the scheme used in the temperature module:
Describe alternatives you've considered
The same can be done with a custom shell script, but that in my opinion introduces too much overhead. It would be nice to have the same thing along with the low memory footprint of Polybar.
Additional context
N/A
The text was updated successfully, but these errors were encountered: