mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix
This commit is contained in:
parent
4759c85833
commit
2ee26bf950
3
inxi
3
inxi
|
@ -2653,8 +2653,9 @@ detect_desktop_environment()
|
|||
fi
|
||||
desktop_environment="IceWM${version}"
|
||||
fi
|
||||
fi
|
||||
# a few manual hacks for things that don't id with xprop, these are just good guesses
|
||||
else
|
||||
if [[ -z $desktop_environment ]];then
|
||||
if [[ -n $( grep -is 'fvwm-crystal' <<< "$ps_aux" | grep -v 'grep' ) ]];then
|
||||
version=$( fvwm --version 2>/dev/null | grep -Esi 'fvwm [[:digit:]]' | gawk '{print $2}' )
|
||||
if [[ -n $version ]];then
|
||||
|
|
Loading…
Reference in a new issue