forked from external/yambar
add changes in response to PR #58 comments
This commit is contained in:
parent
35e6943531
commit
e2f3df87a3
3 changed files with 20 additions and 1 deletions
|
@ -23,6 +23,9 @@
|
|||
* battery: don’t terminate (causing last status to “freeze”) when
|
||||
failing to update; retry again later
|
||||
(https://codeberg.org/dnkl/yambar/issues/44).
|
||||
* battery: differentiate "Not Charging" and "Discharging" in state
|
||||
tag of battery module.
|
||||
(https://codeberg.org/dnkl/yambar/issues/57).
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
@ -41,6 +44,7 @@
|
|||
### Contributors
|
||||
|
||||
* [novakane](https://codeberg.org/novakane)
|
||||
* [mz](https://codeberg.org/mz)
|
||||
|
||||
## 1.6.1
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ uses *udev* to monitor for changes.
|
|||
: Battery model name
|
||||
| state
|
||||
: string
|
||||
: One of *full*, *charging*, *discharging* or *unknown*
|
||||
: One of *full*, *not charging*, *charging*, *discharging* or *unknown*
|
||||
| capacity
|
||||
: range
|
||||
: capacity left, in percent
|
||||
|
|
|
@ -271,6 +271,21 @@ bar:
|
|||
full:
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: "{capacity}% full"}
|
||||
not charging:
|
||||
- ramp:
|
||||
tag: capacity
|
||||
items:
|
||||
- string: {text: , foreground: ff0000ff, font: *awesome}
|
||||
- string: {text: , foreground: ffa600ff, font: *awesome}
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: , foreground: 00ff00ff, font: *awesome}
|
||||
- string: {text: "{capacity}%"}
|
||||
- clock:
|
||||
time-format: "%H:%M %Z"
|
||||
content:
|
||||
|
|
Loading…
Add table
Reference in a new issue