mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-23 23:51:58 +00:00
added a comment
This commit is contained in:
parent
16283fc8ee
commit
4568c3490d
1 changed files with 1 additions and 0 deletions
|
@ -358,6 +358,7 @@ prompt_battery() {
|
|||
|
||||
# Time remaining on battery operation (charging/discharging)
|
||||
local tstring=$(echo $raw_data | awk 'FNR==2{print $5}')
|
||||
# If time has not been calculated by system yet
|
||||
[[ $tstring =~ '\(no' ]] && tstring="..."
|
||||
|
||||
# percent of battery charged
|
||||
|
|
Loading…
Reference in a new issue