waybar-upower(5) | File Formats Manual | waybar-upower(5) |
waybar - upower module
The upower module displays the main battery capacity with all other upower compatible devices in the tooltip.
icon-size:
typeof: integer
default: 20
Defines the size of the icons.
format:
typeof: string
default: {percentage}
The text format.
format-alt:
typeof: string
default: {percentage} {time}
The text format when toggled.
hide-if-empty:
typeof: bool
default: true
Defines visibility of the module if no devices can be found.
tooltip:
typeof: bool
default: true
Option to disable tooltip on hover.
tooltip-spacing:
typeof: integer
default: 4
Defines the spacing between the tooltip device name and device battery
status.
tooltip-padding:
typeof: integer
default: 4
Defines the spacing between the tooltip window edge and the tooltip
content.
on-click:
typeof: string
Command to execute when clicked on the module.
{percentage}: The battery capacity in percentage
{time}: An estimated time either until empty or until fully
charged
depending on the charging state.
"upower": { "icon-size": 20, "hide-if-empty": true, "tooltip": true, "tooltip-spacing": 20 }
2023-02-28 |