small update, future proofing lxqt id

This commit is contained in:
inxi-svn 2014-05-05 19:20:16 +00:00
parent 752e9c1420
commit 415bf24239

6
inxi
View file

@ -4323,12 +4323,12 @@ get_desktop_environment()
version="(Openbox $version)"
fi
desktop_environment='LXDE'
elif [[ $XDG_CURRENT_DESKTOP == 'Razor' || \
-n $( grep -Eis '(razor-desktop|lxqt-session)' <<< "$Ps_aux_Data" ) ]];then
elif [[ $XDG_CURRENT_DESKTOP == 'Razor' || $XDG_CURRENT_DESKTOP == 'LXQt' ]] || \
[[ -n $( grep -Eis '(razor-desktop|lxqt-session)' <<< "$Ps_aux_Data" ) ]];then
if [[ -n $( grep -is 'lxqt-session' <<< "$Ps_aux_Data" ) ]];then
desktop_environment='LXQt'
elif [[ -n $( grep -is 'razor-desktop' <<< "$Ps_aux_Data" ) ]];then
desktop_environment='Razor-QT'
desktop_environment='Razor-Qt'
else
desktop_environment='LX-Qt-Variant'
fi