mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
small update, future proofing lxqt id
This commit is contained in:
parent
752e9c1420
commit
415bf24239
6
inxi
6
inxi
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue