mirror of https://framagit.org/kyodev/kyopages.git
getInfo 2.58.1
This commit is contained in:
parent
c570b1c87f
commit
a05f1ffab4
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
version=2.58.0
|
version=2.58.1
|
||||||
date="7/12/2017"
|
date="7/12/2017"
|
||||||
projet="simpledeb"
|
projet="simpledeb"
|
||||||
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
|
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
|
# 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 cards cmd_cards prefixCmd openGl pluriel text
|
||||||
local stck_glxinfo glx_dvc cmd_glx_dvc stck_glxinfoOpt stck_glxinfoDri glx_dvc_temp
|
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
|
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"
|
[ "$fileConfs" ] || cmd_confs="Aucun fichier à afficher"
|
||||||
cmt_confs="configuration Xorg"
|
cmt_confs="configuration Xorg"
|
||||||
info_config="les configurations par défaut de Xorg se trouve dans **/usr/share/X11/xorg.conf.d/**, "
|
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
|
if [ "$1" == "xorgOnly" ]; then
|
||||||
f_di cmd "$confs" "$cmd_confs" "$cmt_confs"
|
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" *"
|
cmt_modEth="**Ethernet:** $( f__wcv -l "$modEth" -gt 1 ) module"$pluriel" utilisé"$pluriel" *"
|
||||||
srch_modEth=${fg_modMotif//|/ } # fg_modMotif motif de recherche, avec |
|
srch_modEth=${fg_modMotif//|/ } # fg_modMotif motif de recherche, avec |
|
||||||
figet_modules "wireless"
|
figet_modules "wireless"
|
||||||
|
|
||||||
modWln="$fg_modules" # modules chargés
|
modWln="$fg_modules" # modules chargés
|
||||||
cmd_modWln="lsmod | grep -Ew '$fg_modKernel'" # module driver
|
cmd_modWln="lsmod | grep -Ew '$fg_modKernel'" # module driver
|
||||||
[ "$( f__wcv -l "$modWln" )" -gt 1 ] && pluriel="s" || unset pluriel
|
[ "$( 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
|
# 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"
|
local de="n/a"
|
||||||
fg_de="n/a"
|
fg_de="n/a"
|
||||||
[ "$ENV_DISPLAY" ] && fg_de+=":no Display"
|
[ "$ENV_DISPLAY" ] && fg_de+=":no Display"
|
||||||
|
@ -2838,7 +2837,7 @@ figet_de(){ #v 30/11/2017 # thanks neofetch
|
||||||
# panel
|
# panel
|
||||||
fg_de_panel=$( gawk ' BEGIN { IGNORECASE=1 }
|
fg_de_panel=$( gawk ' BEGIN { IGNORECASE=1 }
|
||||||
#inclus lxpanel, mate-panel, gnome-panel, xfceX-panel
|
#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 ) )
|
' <<< $( ps -A ) )
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
# changelog getInfo
|
# 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: f_grep_file, sources affichées en colonnes
|
||||||
* révision: fi_pkg_apt, + paquets kernels
|
* révision: fi_pkg_apt, + paquets kernels
|
||||||
* révision: fi_efi en catégorie configuration
|
* révision: fi_efi en catégorie configuration
|
||||||
|
* fix: figet_de, gnome-shell
|
||||||
|
|
||||||
## getInfo 2.57.1 6/12/2017
|
## getInfo 2.57.1 6/12/2017
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue