mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
battery segment for symlinkers
This commit is contained in:
parent
6539b1cb38
commit
6310083a34
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ prompt_battery() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux|Android)
|
Linux|Android)
|
||||||
local -a bats=( /sys/class/power_supply/(BAT*|battery)(FN) )
|
local -a bats=( /sys/class/power_supply/(BAT*|battery)/(FN) )
|
||||||
(( $#bats )) || return
|
(( $#bats )) || return
|
||||||
|
|
||||||
local -i energy_now energy_full power_now
|
local -i energy_now energy_full power_now
|
||||||
|
|
Loading…
Reference in a new issue