From a05f1ffab45eda9bea2a6c4c6887ee304e1e0413 Mon Sep 17 00:00:00 2001 From: kyodev Date: Fri, 8 Dec 2017 00:33:12 +0100 Subject: [PATCH] getInfo 2.58.1 --- scripts/getInfo | 11 +++++------ scripts/getInfo_changelog.md | 3 ++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/getInfo b/scripts/getInfo index 942a7d7..50e8569 100755 --- a/scripts/getInfo +++ b/scripts/getInfo @@ -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 ) ) } diff --git a/scripts/getInfo_changelog.md b/scripts/getInfo_changelog.md index 8f366ee..730e6a7 100644 --- a/scripts/getInfo_changelog.md +++ b/scripts/getInfo_changelog.md @@ -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