Waybar/include/modules
Sasha Moak 4e8ccf36b5 fix(wireplumber): waybar crashes when default node changes
In order to fix the issue, the default node name is cached rather than
the default node id. This is due to ids being unstable. So now when the
object manager is installed (ie ready), the default node name is
retrieved and stored for later.

Now when the mixer changed signal is emitted, the id of the changed node
is used to get the node from the object manager. The nodes name is
grabbed off that node and compared against the default node name, if
they match the volume is updated. Some safeguarding has been added such
that if the node cannot be found off the object manager, it's ignored.

Additionally, the "changed" signal on the default nodes api is now
utilized to update the default node name if it has changed. This way if
the default node changes, the module will be updated with the correct
volume and node.nick.

This adds additional debug logging for helping diagnose wireplumber
issues.

This also adds the wireplumber man page entry to the main waybar
supported section.
2023-01-16 10:29:35 -08:00
..
hyprland fix: lint 2023-01-04 16:26:50 +01:00
mpd modules: Revert button to label 2022-11-24 13:08:16 +01:00
mpris mpris: fix build errors 2023-01-07 01:44:25 +01:00
river river/mode: new module 2022-06-01 15:35:08 +00:00
sni refactor: lint 2022-04-06 08:37:19 +02:00
sway sway-window, Issue 1399: new style classes 2023-01-12 05:53:59 +01:00
upower fix(upower): add missing include for libc++ 2022-05-23 16:27:32 +00:00
wlr fix: lint 2022-10-26 17:26:15 +02:00
backlight.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
battery.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
bluetooth.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
clock.hpp ISSUE#1874 2022-12-14 16:43:23 +03:00
cpu.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
custom.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
disk.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
gamemode.hpp Added tooltip-format 2022-05-21 12:02:45 +02:00
idle_inhibitor.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
image.hpp fix: lint 2023-01-04 16:26:50 +01:00
inhibitor.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
jack.hpp button: Add AButton class 2022-10-12 10:25:29 +02:00
keyboard_state.hpp feat(keybaord): enable hotplug support 2022-08-23 23:30:16 +08:00
memory.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
network.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
pulseaudio.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
simpleclock.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
sndio.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
temperature.hpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
user.hpp added path settings 2022-11-16 08:04:18 +03:00
wireplumber.hpp fix(wireplumber): waybar crashes when default node changes 2023-01-16 10:29:35 -08:00