Man page - waybar-upower(5)
Packages contains this manual
- waybar-backlight-slider(5)
- waybar-river-layout(5)
- waybar-sway-scratchpad(5)
- waybar-pulseaudio-slider(5)
- waybar-hyprland-submap(5)
- waybar-river-mode(5)
- waybar-keyboard-state(5)
- waybar-cffi(5)
- waybar-pulseaudio(5)
- waybar-states(5)
- waybar-clock(5)
- waybar(5)
- waybar-dwl-tags(5)
- waybar-niri-window(5)
- waybar-niri-workspaces(5)
- waybar-dwl-window(5)
- waybar-sndio(5)
- waybar-niri-language(5)
- waybar-hyprland-language(5)
- waybar-wireplumber(5)
- waybar-mpris(5)
- waybar-gamemode(5)
- waybar-sway-language(5)
- waybar-hyprland-workspaces(5)
- waybar-power-profiles-daemon(5)
- waybar-battery(5)
- waybar-wlr-taskbar(5)
- waybar-tray(5)
- waybar-menu(5)
- waybar-sway-workspaces(5)
- waybar-styles(5)
- waybar-sway-mode(5)
- waybar-cpu(5)
- waybar-river-window(5)
- waybar-mpd(5)
- waybar-hyprland-window(5)
- waybar-sway-window(5)
- waybar-network(5)
- waybar-systemd-failed-units(5)
- waybar-jack(5)
- waybar-temperature(5)
- waybar-river-tags(5)
- waybar-custom(5)
- waybar-idle-inhibitor(5)
- waybar-bluetooth(5)
- waybar-privacy(5)
- waybar-backlight(5)
- waybar-inhibitor(5)
- waybar-image(5)
- waybar-upower(5)
- waybar-disk(5)
- waybar-memory(5)
apt-get install waybar
Manual
waybar-upower
NAMEDESCRIPTION
CONFIGURATION
FORMAT REPLACEMENTS
EXAMPLES
STYLE
NAME
waybar - upower module
DESCRIPTION
The upower module displays the main battery capacity with all other upower compatible devices in the tooltip.
CONFIGURATION
native-path :
|
typeof: string |
||
|
default: |
||
|
The battery to monitor. Refer to the https://upower.freedesktop.org/docs/UpDevice.html#UpDevice--native-path |
||
|
Can be obtained using ‘upower --dump‘ |
model :
|
typeof: string |
|
|
default: |
|
|
The battery to monitor, based on the model. (this option is ignored if native-path is given). |
|
|
Can be obtained using ‘upower --dump‘ |
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. |
show-icon :
|
typeof: bool |
|
|
default: true |
|
|
Option to disable battery icon. |
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. |
FORMAT REPLACEMENTS
{percentage} : The battery capacity in percentage
{time}
:
An estimated time either until empty or until fully charged
depending on the charging state.
EXAMPLES
"upower": {
|
"icon-size": 20, |
|
|
"hide-if-empty": true, |
|
|
"tooltip": true, |
|
|
"tooltip-spacing": 20 |
}
"upower": {
|
"native-path": "/org/bluez/hci0/dev_D4_AE_41_38_D0_EF", |
|
|
"icon-size": 20, |
|
|
"hide-if-empty": true, |
|
|
"tooltip": true, |
|
|
"tooltip-spacing": 20 |
}
"upower": {
|
"native-path": "battery_sony_controller_battery_d0o27o88o32ofcoee", |
|
|
"icon-size": 20, |
|
|
"hide-if-empty": true, |
|
|
"tooltip": true, |
|
|
"tooltip-spacing": 20 |
}
"upower": {
|
"show-icon": false, |
|
|
"hide-if-empty": true, |
|
|
"tooltip": true, |
|
|
"tooltip-spacing": 20 |
}
STYLE
|
• |
#upower |
|||
|
• |
#upower.charging |
|||
|
• |
#upower.discharging |
|||
|
• |
#upower.full |
|||
|
• |
#upower.empty |
|||
|
• |
#upower.unknown-status |