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 defualt: 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
52 {percentage}: The battery capacity in percentage
53
54 {time}: An estimated time either until empty or until fully charged
55 depending on the charging state.
56
58 "upower": {
59 "icon-size": 20,
60 "hide-if-empty": true,
61 "tooltip": true,
62 "tooltip-spacing": 20
63 }
64
65
67 • #upower
68 • #upower.charging
69 • #upower.discharging
70 • #upower.full
71 • #upower.empty
72 • #upower.unknown-status
73
74
75
76 2022-05-23 waybar-upower(5)