Skip to content
Jake Stanger edited this page May 1, 2023 · 9 revisions

Displays system power information such as the battery percentage, and estimated time to empty.

TODO: ADD SCREENSHOT

Configuration

Type: upower

Name Type Default Description
format string {percentage}% Format string to use for the widget button label.
JSON
{
  "end": [
    {
      "type": "upower",
      "format": "{percentage}%"
    }
  ]
}
TOML
[[end]]
type = "upower"
format = "{percentage}%"
YAML
end:
  - type: "upower"
    format: "{percentage}%"
Corn
{
  end = [
    {
      type = "upower"
      format = "{percentage}%"
    }
  ]
}

Styling

Selector Description
#upower Upower widget container.
#upower #icon Upower widget battery icon.
#upower #button Upower widget button.
#upower #button #label Upower widget button label.
#popup-upower Upower popup box.
#popup-upower #upower-details Label inside the popup.
Clone this wiki locally