Skip to content

Add vbattery and hbattery prompt items#28

Open
jose1711 wants to merge 1 commit intoplttn:mainfrom
jose1711:battery_item_plttn
Open

Add vbattery and hbattery prompt items#28
jose1711 wants to merge 1 commit intoplttn:mainfrom
jose1711:battery_item_plttn

Conversation

@jose1711
Copy link
Copy Markdown

@jose1711 jose1711 commented Apr 13, 2026

Two new items for displaying battery status:

  • vbattery: font icons with 11 charge levels, separate charging/discharging icon sets and color alerts for low/critical
  • hbattery: block bar with 5 levels using integer bucketing

Both items share common configuration under tide_battery_* (method, thresholds, critical/low colors) while each has its own tide_<item>_bg_color and tide_<item>_color.

Supported backends: upower (default), sysfs (with customizable battery name), termux.

Description

Motivation and Context

Closes #

Screenshots (if appropriate)

obrázok

How Has This Been Tested

  • I have tested using Linux.
  • I have tested using MacOS.

Checklist

  • I am ready to update the wiki accordingly.
  • I have updated the tests accordingly.

@plttn plttn self-assigned this Apr 17, 2026
Two new items for displaying battery status:
  - `vbattery`: font icons with 11 charge levels, separate charging/discharging
                icon sets and color alerts for low/critical
  - `hbattery`: block bar with 5 levels using integer bucketing

Both items share common configuration under `tide_battery_*`
(method, thresholds, critical/low colors) while each has its own
`tide_<item>_bg_color` and `tide_<item>_color`.

Supported backends: upower (default), sysfs (with customizable battery
name), termux.
@plttn plttn force-pushed the battery_item_plttn branch from 900a67e to e134b15 Compare April 18, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants