2022-11-16 20:23:12 +00:00
waybar-wireplumber(5)
# NAME
waybar - WirePlumber module
# DESCRIPTION
The *wireplumber* module displays the current volume reported by WirePlumber.
# CONFIGURATION
*format*: ++
2023-06-06 08:44:17 +00:00
typeof: string ++
default: *{volume}%* ++
The format, how information should be displayed. This format is used when other formats aren't specified.
2022-11-16 20:23:12 +00:00
2023-04-11 05:09:01 +00:00
*format-muted*: ++
2023-06-06 08:44:17 +00:00
typeof: string ++
This format is used when the sound is muted.
2022-11-16 20:23:12 +00:00
*tooltip*: ++
2023-06-06 08:44:17 +00:00
typeof: bool ++
default: *true* ++
Option to disable tooltip on hover.
2022-11-16 20:23:12 +00:00
*tooltip-format*: ++
2023-06-06 08:44:17 +00:00
typeof: string ++
default: *{node_name}* ++
The format of information displayed in the tooltip.
2022-11-16 20:23:12 +00:00
*rotate*: ++
2023-06-06 08:44:17 +00:00
typeof: integer ++
Positive value to rotate the text label.
2022-11-16 20:23:12 +00:00
*states*: ++
2023-06-06 08:44:17 +00:00
typeof: object ++
A number of volume states which get activated on certain volume levels. See *waybar-states(5)*.
2022-11-16 20:23:12 +00:00
*max-length*: ++
2023-06-06 08:44:17 +00:00
typeof: integer ++
The maximum length in character the module should display.
2022-11-16 20:23:12 +00:00
*min-length*: ++
2023-06-06 08:44:17 +00:00
typeof: integer ++
2023-10-21 15:45:25 +00:00
The minimum length in characters the module should accept.
2022-11-16 20:23:12 +00:00
*align*: ++
2023-06-06 08:44:17 +00:00
typeof: float ++
2024-03-06 15:10:09 +00:00
The alignment of the label within the module, where 0 is left-aligned and 1 is right-aligned. If the module is rotated, it will follow the flow of the text.
*justify*: ++
typeof: string ++
The alignment of the text within the module's label, allowing options 'left', 'right', or 'center' to define the positioning.
2023-06-06 08:44:17 +00:00
*scroll-step*: ++
typeof: float ++
default: 1.0 ++
2023-10-21 15:45:25 +00:00
The speed at which to change the volume when scrolling.
2022-11-16 20:23:12 +00:00
*on-click*: ++
2023-06-06 08:44:17 +00:00
typeof: string ++
Command to execute when clicked on the module.
2022-11-16 20:23:12 +00:00
*on-click-middle*: ++
2023-06-06 08:44:17 +00:00
typeof: string ++
Command to execute when middle-clicked on the module using mousewheel.
2022-11-16 20:23:12 +00:00
*on-click-right*: ++
2023-06-06 08:44:17 +00:00
typeof: string ++
2023-10-21 15:45:25 +00:00
Command to execute when you right-click on the module.
2022-11-16 20:23:12 +00:00
*on-update*: ++
2023-06-06 08:44:17 +00:00
typeof: string ++
Command to execute when the module is updated.
*on-scroll-up*: ++
typeof: string ++
Command to execute when scrolling up on the module. This replaces the default behaviour of volume control.
*on-scroll-down*: ++
typeof: string ++
Command to execute when scrolling down on the module. This replaces the default behaviour of volume control.
*max-volume*: ++
typeof: float ++
default: 100 ++
The maximum volume that can be set, in percentage.
2022-11-16 20:23:12 +00:00
# FORMAT REPLACEMENTS
*{volume}*: Volume in percentage.
*{node_name}*: The node's nickname as reported by WirePlumber (*node.nick* property)
# EXAMPLES
```
"wireplumber": {
2023-07-30 15:33:02 +00:00
"format": "{volume}%",
"format-muted": "",
"on-click": "helvum"
2022-11-16 20:23:12 +00:00
}
```
# STYLE
- *#wireplumber*
- *#wireplumber.muted*