diff --git a/inxi b/inxi index 33918e7..108771f 100755 --- a/inxi +++ b/inxi @@ -2655,7 +2655,7 @@ detect_desktop_environment() fi fi # a few manual hacks for things that don't id with xprop, these are just good guesses - if [[ -z $desktop_environment ]];then + if [[ $desktop_environment == 'N/A' ]];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