waybar/src
Anthony PERARD 194f4c2f18 network: Fix mix use of default and state specific format
Whenever the network module is configured with both "format" and
"format-$state" and when the module use "format-$state" once, it
override the value that was saved from "format".

For example, if both "format" and "format-disconnect" are configured,
and only those, as soon as the module show information about a
disconnected interface, it will keep showing the format for
disconnected, even if the interface is connected again later.

Fix that by always setting a value to default_format_ in update() and
thus use the intended default format when needed.

Fixes #1129
2021-06-08 18:50:32 +01:00
..
modules network: Fix mix use of default and state specific format 2021-06-08 18:50:32 +01:00
util fix(rfkill): handle EAGAIN correctly 2021-02-10 08:26:21 -08:00
ALabel.cpp align should use rotate property 2021-02-01 01:44:51 -08:00
AModule.cpp Fix "on-click-backward" when "on-click-forward" is not present 2020-09-26 15:55:06 -04:00
bar.cpp feat(bar): add config flag to disable exclusive zone 2021-05-21 22:44:18 -07:00
client.cpp Correct .json to .jsonc 2021-05-21 17:53:43 +03:00
factory.cpp feature: created sway language submodule; added styles & config part for a sway language submodule 2020-10-10 19:09:18 +03:00
main.cpp Implement support for reloading of config files. 2020-08-28 22:34:24 +10:00