getInfo 3.18.2

This commit is contained in:
kyodev 2018-02-14 16:48:53 +01:00
parent 7e2b39f4ca
commit 3081f9f22a
2 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
version=3.18.1 version=3.18.2
date="14/02/2018" date="14/02/2018"
projet="simpledeb" projet="simpledeb"
contact="IRC freenode.net ##sdeb ou https://framagit.org/kyodev/kyopages/issues/" contact="IRC freenode.net ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
@ -2456,7 +2456,7 @@ fi_touchpad(){ # 14/02/2018
fe_touchpad+="$REPLY "$'\n' fe_touchpad+="$REPLY "$'\n'
done <<< $( grep -i 'Name=' <<< $device ) done <<< $( grep -i 'Name=' <<< $device )
fe_touchpad=${fe_touchpad%$'\n'} # suppression \n final fe_touchpad=${fe_touchpad%$'\n'} # suppression \n final
cmd_device="grep -Ei -B1 -A8 'synaptics|alps|etps|elan' /proc/bus/input/devices" cmd_device="grep -Ei -B1 -A8 'touchpad|trackpoint|synaptics|alps|etps|elan' /proc/bus/input/devices"
# recherche Xorg.log # recherche Xorg.log
toScrut=( toScrut=(
/var/log/Xorg.0.log /var/log/Xorg.0.log
@ -3181,7 +3181,7 @@ figet_cpu_uarch(){ # 14/11/2017
} }
# assigne $fg_de, $fg_de_panel # assigne $fg_de, $fg_de_panel
figet_de(){ # 13/02/2018 # thanks neofetch figet_de(){ # 14/02/2018 # thanks neofetch
local de="n/a" ps local de="n/a" ps
x_de=1 x_de=1
@ -3219,8 +3219,8 @@ figet_de(){ # 13/02/2018 # thanks neofetch
# panel # panel
ps=$( ps -A ) ps=$( ps -A )
fg_de_panel=$( $c_awk ' fg_de_panel=$( $c_awk '
#inclus lxpanel, mate-panel, gnome-panel, xfceY-panel, lxqt-panel #inclus lxpanel, mate-panel, gnome-panel, xfce4-panel, lxqt-panel
/(gnome-shell|kicker|plasma-desktop|plasma-netbook|lxpanel|panel)$/ { print $NF; exit } /(gnome-shell|kicker|plasma-desktop|plasma-netbook|lxpanel|panel|deepin-dock|ede|sugar|theshell|kicker)$|liri-shell/ { print $NF; exit }
' <<< ${ps,,} ) ' <<< ${ps,,} )
} }

View File

@ -1,8 +1,9 @@
# changelog getInfo # changelog getInfo
## getInfo 3.18.1 14/02/2018 ## getInfo 3.18.2 14/02/2018
* plus: figet_de, ajout panels
* révision: fi_touchpad, titrage & motif grep devices * révision: fi_touchpad, titrage & motif grep devices
* fix: fi_touchpad, affichages effacés par erreur dans 3.14 * fix: fi_touchpad, affichages effacés par erreur dans 3.14