Waybar/src/modules
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
..
cpu [Module CPU] fix crash due to empty frequencies. 2021-04-15 14:30:29 -04:00
memory Implemented format-{state} for cpu/disk/memory 2020-10-12 02:05:26 +02:00
mpd feat: implement mpd volume format template 2021-04-20 08:35:47 +02:00
river add option tag-labels to river/tags 2021-01-15 01:07:56 +00:00
sni tray: drop std::filesystem dependency 2020-05-19 10:37:27 +00:00
sway sway-language: ignore events with empty layout 2021-06-05 15:03:52 +02:00
wlr Add ignore-list param to wlr/taskbar 2021-04-18 21:34:29 +03:00
backlight.cpp fix(brightness): amd brightness 2020-04-21 09:11:56 +02:00
battery.cpp fix: incorrect battery percentage on Pinebook Pro 2021-05-10 21:00:14 +02:00
bluetooth.cpp fix: bluetooth status tooltip 2021-04-30 14:23:49 +02:00
clock.cpp remove unnessecary logging 2021-01-31 11:56:25 -08:00
custom.cpp Custom module - only call label_.set_tooltip_markup if tooltip markup has actually changed - fixes tooltips not appearing at all if a custom module is updating too frequently. 2020-10-31 12:21:51 +00:00
disk.cpp Implemented format-{state} for cpu/disk/memory 2020-10-12 02:05:26 +02:00
idle_inhibitor.cpp disable Idle Inhibitor module if unsupported 2021-02-09 18:37:13 -05:00
network.cpp network: Fix mix use of default and state specific format 2021-06-08 18:50:32 +01:00
pulseaudio.cpp [modules/pulseaudio] fix bluetooth class for PipeWire 2021-04-25 11:19:35 +02:00
simpleclock.cpp Add simpleclock as fallback when hhdate is not available 2020-10-29 19:40:28 +01:00
sndio.cpp sndio: Add reconnection support. 2020-10-04 14:59:20 -03:00
temperature.cpp Add "tooltip-format" to temperature module 2020-11-26 20:23:19 -05:00