1waybar-upower(5) File Formats Manual waybar-upower(5)
2
3
4
6 waybar - upower module
7
9 The upower module displays the main battery capacity with all other up‐
10 ower compatible devices in the tooltip.
11
13 icon-size:
14 typeof: integer
15 default: 20
16 Defines the size of the icons.
17
18 format:
19 typeof: string
20 default: {percentage}
21 The text format.
22
23 format-alt:
24 typeof: string
25 default: {percentage} {time}
26 The text format when toggled.
27
28 hide-if-empty:
29 typeof: bool
30 default: true
31 Defines visibility of the module if no devices can be found.
32
33 tooltip:
34 typeof: bool
35 default: true
36 Option to disable tooltip on hover.
37
38 tooltip-spacing:
39 typeof: integer
40 default: 4
41 Defines the spacing between the tooltip device name and device
42 battery
43 status.
44
45 tooltip-padding:
46 typeof: integer
47 default: 4
48 Defines the spacing between the tooltip window edge and the
49 tooltip content.
50
51 on-click:
52 typeof: string
53 Command to execute when clicked on the module.
54
56 {percentage}: The battery capacity in percentage
57
58 {time}: An estimated time either until empty or until fully charged
59 depending on the charging state.
60
62 "upower": {
63 "icon-size": 20,
64 "hide-if-empty": true,
65 "tooltip": true,
66 "tooltip-spacing": 20
67 }
68
69
71 • #upower
72 • #upower.charging
73 • #upower.discharging
74 • #upower.full
75 • #upower.empty
76 • #upower.unknown-status
77
78
79
80 2023-01-11 waybar-upower(5)