getInfo 2.58.1

This commit is contained in:
kyodev 2017-12-08 00:33:12 +01:00
parent c570b1c87f
commit a05f1ffab4
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
version=2.58.0
version=2.58.1
date="7/12/2017"
projet="simpledeb"
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
@ -960,7 +960,7 @@ fi_efi(){ # 6/12/2017
}
# assigne $fe_gpu (liste des gpu), $fe_nb_gpu, fe_Xorg, si [$1=silent|xorgOnly], sortie après configs xorg complete
fi_gpu(){ # 6/12/2017
fi_gpu(){ # 7/12/2017
local cards cmd_cards prefixCmd openGl pluriel text
local stck_glxinfo glx_dvc cmd_glx_dvc stck_glxinfoOpt stck_glxinfoDri glx_dvc_temp
local cmd_openGl resolutions cmd_resolutions cmt_resolutions providers cmd_providers
@ -1002,7 +1002,7 @@ fi_gpu(){ # 6/12/2017
[ "$fileConfs" ] || cmd_confs="Aucun fichier à afficher"
cmt_confs="configuration Xorg"
info_config="les configurations par défaut de Xorg se trouve dans **/usr/share/X11/xorg.conf.d/**, "
info_config+="non sorties ici pour cause de place."
info_config+="non sorties ici."
if [ "$1" == "xorgOnly" ]; then
f_di cmd "$confs" "$cmd_confs" "$cmt_confs"
@ -1414,7 +1414,6 @@ fi_net(){ # 6/12/2017 ( matériel )
cmt_modEth="**Ethernet:** $( f__wcv -l "$modEth" -gt 1 ) module"$pluriel" utilisé"$pluriel" *"
srch_modEth=${fg_modMotif//|/ } # fg_modMotif motif de recherche, avec |
figet_modules "wireless"
modWln="$fg_modules" # modules chargés
cmd_modWln="lsmod | grep -Ew '$fg_modKernel'" # module driver
[ "$( f__wcv -l "$modWln" )" -gt 1 ] && pluriel="s" || unset pluriel
@ -2802,7 +2801,7 @@ figet_cpu_uarch(){ # 24/11/2017
}
# assigne $fg_de, $fg_de_panel
figet_de(){ #v 30/11/2017 # thanks neofetch
figet_de(){ #v 7/12/2017 # thanks neofetch
local de="n/a"
fg_de="n/a"
[ "$ENV_DISPLAY" ] && fg_de+=":no Display"
@ -2838,7 +2837,7 @@ figet_de(){ #v 30/11/2017 # thanks neofetch
# panel
fg_de_panel=$( gawk ' BEGIN { IGNORECASE=1 }
#inclus lxpanel, mate-panel, gnome-panel, xfceX-panel
/(gnome-shell|kicker|plasma-desktop|plasma-netbook|lxpanel|panel)$/ { print $NF }
/(gnome-shell|kicker|plasma-desktop|plasma-netbook|lxpanel|panel)$/ { print $NF; exit }
' <<< $( ps -A ) )
}

View File

@ -1,11 +1,12 @@
# changelog getInfo
## getInfo 2.58.0 7/12/2017
## getInfo 2.58.1 7/12/2017
* révision: f_grep_file, sources affichées en colonnes
* révision: fi_pkg_apt, + paquets kernels
* révision: fi_efi en catégorie configuration
* fix: figet_de, gnome-shell
## getInfo 2.57.1 6/12/2017