mirror of
https://github.com/vale981/spectrwm
synced 2025-03-04 17:31:40 -05:00
baraction: Rename print_apm() to print_bat()
It fits better with the output of the function, and is also a more OS neutral name.
This commit is contained in:
parent
43e7a3d20a
commit
beef2db2ca
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ print_cpu() {
|
|||
_print_cpu $OUT
|
||||
}
|
||||
|
||||
print_apm() {
|
||||
print_bat() {
|
||||
BAT_STATUS=$1
|
||||
BAT_LEVEL=$2
|
||||
AC_STATUS=$3
|
||||
|
@ -98,7 +98,7 @@ while :; do
|
|||
print_mem
|
||||
print_cpu $REPLY
|
||||
print_cpuspeed
|
||||
print_apm $APM_DATA
|
||||
print_bat $APM_DATA
|
||||
echo ""
|
||||
fi
|
||||
I=$(( ( ${I} + 1 ) % 22 ));
|
||||
|
|
Loading…
Add table
Reference in a new issue