diff --git a/inxi b/inxi index 621a9ad..9a80493 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### Version: 2.2.0 #### Date: 2014-08-20 -#### Patch Number: 01-b1 +#### Patch Number: 02-b1 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -4313,7 +4313,8 @@ get_desktop_environment() fi fi desktop_environment="Xfce" - elif [[ -n $( grep -is '\"xfce\"' <<< "$xprop_root" ) ]];then + # case where no xfce number exists, just xfce + elif [[ -n $( grep -is 'xfce' <<< "$xprop_root" ) ]];then version=$( get_program_version 'xfdesktop' 'xfdesktop[[:space:]]version' '5' ) # arch linux reports null, so use alternate if null if [[ -z $version ]];then