mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
comments
This commit is contained in:
parent
f7645af7e3
commit
27b25196d8
1 changed files with 1 additions and 0 deletions
|
@ -1312,6 +1312,7 @@ _p9k_prompt_battery_set_args() {
|
|||
;;
|
||||
|
||||
Linux|Android)
|
||||
# See https://sourceforge.net/projects/acpiclient.
|
||||
local -a bats=( /sys/class/power_supply/(BAT*|battery)/(FN) )
|
||||
(( $#bats )) || return
|
||||
|
||||
|
|
Loading…
Reference in a new issue