getInfo 3.18.0

This commit is contained in:
kyodev 2018-02-14 10:40:17 +01:00
parent 8be24750f1
commit 12216e042b
2 changed files with 11 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
version=3.17.2
date="13/02/2018"
version=3.18.0
date="14/02/2018"
projet="simpledeb"
contact="IRC freenode.net ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
script="getInfo"
@ -2443,19 +2443,18 @@ fi_system_analyse(){ # 26/01/2018
}
# [$1=silent], assigne $fe_touchpad, fe_nb_touchpad
fi_touchpad(){ # 09/02/2018
fi_touchpad(){ # 14/02/2018
local device cmd_device toScrut xfile file_logs type type_pt pilote cmd_pilote cmt_pilote info_driver
x_touchpad=1
device=$( grep -Ei -B1 -A8 'synaptics|alps|etps|elan' /proc/bus/input/devices ) || return 0
device=$( grep -i 'Name=' <<< $device )
unset fe_touchpad
while read -r; do
REPLY=${REPLY#*Name=\"} # suppression début
REPLY=${REPLY%\"} # suppression fin
fe_touchpad+="$REPLY "$'\n'
done <<< "$device"
done <<< $( grep -i 'Name=' <<< $device )
fe_touchpad=${fe_touchpad%$'\n'} # suppression \n final
cmd_device="grep -Ei -B1 -A8 'synaptics|alps|etps|elan' /proc/bus/input/devices"
# recherche Xorg.log
@ -2493,8 +2492,10 @@ fi_touchpad(){ # 09/02/2018
info_driver+="pour voir les configurations personnalisées"
fi
###
f_prnt tit2 "touchpad"
f_prnt 1 "$( sed -E 's/(.*)/**\1** /' <<< $fe_touchpad )" # mise en gras
f_prnt
f_dspl cmd "$device" "$cmd_device"
f_dspl cmd "$pilote" "$cmd_pilote" "$cmt_pilote"
f_dspl_alrt "$info_driver" "info"
}

View File

@ -1,6 +1,11 @@
# changelog getInfo
## getInfo 3.18.0 14/02/2018
* révision: fi_touchpad, titrage
* fix: fi_touchpad, affichages effacés par erreur dans 3.14
## getInfo 3.17.2 13/02/2018
révision: figet_wm (+figet_wm_annexe), ajout nouveau DM, objectif DWM, remodelage scission figet_wm & figet_compositor