2022-08-18 21:05:04 +00:00
waybar-jack(5)
# NAME
waybar - JACK module
# DESCRIPTION
The *jack* module displays the current state of the JACK server.
# CONFIGURATION
Addressed by *jack*
*format*: ++
2023-07-30 15:33:02 +00:00
typeof: string ++
default: *{load}%* ++
The format, how information should be displayed. This format is used when other formats aren't specified.
2022-08-18 21:05:04 +00:00
*format-connected*: ++
2023-07-30 15:33:02 +00:00
typeof: string ++
This format is used when the module is connected to the JACK server.
2022-08-18 21:05:04 +00:00
*format-disconnected*: ++
2023-07-30 15:33:02 +00:00
typeof: string ++
This format is used when the module is not connected to the JACK server.
2022-08-18 21:05:04 +00:00
*format-xrun*: ++
2023-07-30 15:33:02 +00:00
typeof: string ++
2023-10-21 15:45:25 +00:00
This format is used for one polling interval when the JACK server reports an xrun.
2022-08-18 21:05:04 +00:00
*realtime*: ++
2023-07-30 15:33:02 +00:00
typeof: bool ++
default: *true* ++
Option to drop real-time privileges for the JACK client opened by Waybar.
2022-08-18 21:05:04 +00:00
*tooltip*: ++
2023-07-30 15:33:02 +00:00
typeof: bool ++
default: *true* ++
Option to disable tooltip on hover.
2022-08-18 21:05:04 +00:00
*tooltip-format*: ++
2023-07-30 15:33:02 +00:00
typeof: string ++
default: *{bufsize}/{samplerate} {latency}ms* ++
The format of information displayed in the tooltip.
2022-08-18 21:05:04 +00:00
*interval*: ++
2023-07-30 15:33:02 +00:00
typeof: integer ++
default: 1 ++
The interval in which the information gets polled.
2022-08-18 21:05:04 +00:00
*rotate*: ++
2023-07-30 15:33:02 +00:00
typeof: integer ++
Positive value to rotate the text label.
2022-08-18 21:05:04 +00:00
*max-length*: ++
2023-07-30 15:33:02 +00:00
typeof: integer ++
The maximum length in character the module should display.
2022-08-18 21:05:04 +00:00
*min-length*: ++
2023-07-30 15:33:02 +00:00
typeof: integer ++
2023-10-21 15:45:25 +00:00
The minimum length in characters the module should accept.
2022-08-18 21:05:04 +00:00
*align*: ++
2023-07-30 15:33:02 +00:00
typeof: float ++
2024-03-04 19:00:57 +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.
2022-08-18 21:05:04 +00:00
*on-click*: ++
2023-07-30 15:33:02 +00:00
typeof: string ++
Command to execute when clicked on the module.
2022-08-18 21:05:04 +00:00
*on-click-middle*: ++
2023-07-30 15:33:02 +00:00
typeof: string ++
Command to execute when middle-clicked on the module using mousewheel.
2022-08-18 21:05:04 +00:00
*on-click-right*: ++
2023-07-30 15:33:02 +00:00
typeof: string ++
2023-10-21 15:45:25 +00:00
Command to execute when you right-click on the module.
2022-08-18 21:05:04 +00:00
*on-update*: ++
2023-07-30 15:33:02 +00:00
typeof: string ++
Command to execute when the module is updated.
2022-08-18 21:05:04 +00:00
2024-05-28 18:42:12 +00:00
*menu*: ++
typeof: string ++
Action that popups the menu.
*menu-file*: ++
typeof: string ++
Location of the menu descriptor file. There need to be an element of type
GtkMenu with id *menu*
*menu-actions*: ++
typeof: array ++
The actions corresponding to the buttons of the menu.
2022-08-18 21:05:04 +00:00
# FORMAT REPLACEMENTS
*{load}*: The current CPU load estimated by JACK.
*{bufsize}*: The size of the JACK buffer.
2023-10-21 15:45:25 +00:00
*{samplerate}*: The sample rate at which the JACK server is running.
2022-08-18 21:05:04 +00:00
*{latency}*: The duration, in ms, of the current buffer size.
*{xruns}*: The number of xruns reported by the JACK server since starting Waybar.
# EXAMPLES
```
"jack": {
2023-07-30 15:33:02 +00:00
"format": "DSP {}%",
"format-xrun": "{xruns} xruns",
"format-disconnected": "DSP off",
"realtime": true
2022-08-18 21:05:04 +00:00
}
```
# STYLE
- *#jack*
- *#jack.connected*
- *#jack.disconnected*
- *#jack.xrun*