Skip to content

Conversation

@ALSchwalm
Copy link

Most modules support config fields like "format--", so the user can, for example, set a different format for batter when unplugged and under a given level. Wifi didn't support this, only supporting what the waybar-states man page calls a "status". Add state support so users can set a format for "format-wifi-critical", for example.

Side note, the terminology is a bit mixed here. Would you prefer I try to make the state -> status thing a bit more consistent in the wifi module? Maybe renaming getNetworkState and the vars. It seems like battery follows this convention at least. I opted for the minimal diff for this PR

Most modules support config fields like "format-<status>-<state>", so
the user can, for example, set a different format for batter when
unplugged _and_ under a given level. Wifi didn't support this. Change
the module to support format state based on signal strength.
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