mirror of https://framagit.org/kyodev/kyopages.git
getInfo 2.18.1
This commit is contained in:
parent
7f0f9d8cc0
commit
bd8c60d521
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
version=2.18.0
|
||||
version=2.18.1
|
||||
date="26/10/2017"
|
||||
projet="simpledeb"
|
||||
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
|
||||
|
@ -1092,7 +1092,7 @@ fi_usb(){ # 25/10/2017
|
|||
}
|
||||
|
||||
# informations batterie(s), assigne $fget_nb_batt $fget_batt
|
||||
figet_batt(){ #v2 25/10/2017
|
||||
figet_batt(){ #v2 26/10/2017
|
||||
local batt_detail batt_nb batt_unit batt_capa_design batt_capa_full batt_capa_now batt_conso
|
||||
local batt_volt_min batt_volt_now batt_status batt_cycle batt_sn alert_batt_alarm
|
||||
local batt_sante batt_restant tempo batRep ibat uevent
|
||||
|
@ -1157,7 +1157,7 @@ figet_batt(){ #v2 25/10/2017
|
|||
batt_detail+="$ibat: $(cat $batRep/$ibat/manufacturer 2>/dev/null) "
|
||||
batt_detail+="($(cat $batRep/$ibat/model_name 2>/dev/null)) $(cat $batRep/$ibat/technology 2>/dev/null) "
|
||||
batt_detail+="$batt_capa_design$batt_unit - $batt_volt_min""V / $batt_volt_now""V (mini/actuel) "
|
||||
[ "$batt_sn" ] && batt_detail+="n° série: $batt_sn "
|
||||
[ "$(xargs <<< $batt_sn)" ] && batt_detail+="n° série: $batt_sn "
|
||||
[ "$batt_cycle" != "0" ] && batt_detail+="$batt_cycle cycles"$'\n' || batt_detail+=$'\n' #ln 1fin
|
||||
[ "$batt_capa_full" ] && batt_detail+="pleine charge effective: $batt_capa_full$batt_unit, "
|
||||
batt_detail+="pleine charge théorique: $batt_capa_design$batt_unit => "
|
||||
|
@ -1665,7 +1665,7 @@ figet_mod_net(){ # thanks wireless-info, assigne $fget_mod_net # 01/10/2017
|
|||
}
|
||||
|
||||
# assigne $fget_nb_screen, $fget_resolution
|
||||
figet_screen(){ # 26/10/2017
|
||||
figet_screen(){ #v2 26/10/2017
|
||||
local resolution
|
||||
fget_nb_screen="n/a"
|
||||
fget_resolution="n/a"
|
||||
|
|
|
@ -16,11 +16,12 @@
|
|||
* f__requis f__wget_test fscript_get_version fscript_update fscript_cronAnacron
|
||||
* f__cmd_exist f__sudo f__requis
|
||||
|
||||
## 2.18.0 26/10/2017
|
||||
## 2.18.1 26/10/2017
|
||||
|
||||
* nouveau: figet_screen (nb écrans & résolutions)
|
||||
* suppression: figet_resolution neofetch
|
||||
* nouveau: xrandr multi-écrans
|
||||
* fix: suppression s/n batterie si champs rempli d'espace vide
|
||||
|
||||
## 2.17.4 25/10/2017
|
||||
|
||||
|
|
Loading…
Reference in New Issue