mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
bug fix
This commit is contained in:
parent
2ee26bf950
commit
bb43c32dbc
2
inxi
2
inxi
|
@ -2655,7 +2655,7 @@ detect_desktop_environment()
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# a few manual hacks for things that don't id with xprop, these are just good guesses
|
# 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
|
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}' )
|
version=$( fvwm --version 2>/dev/null | grep -Esi 'fvwm [[:digit:]]' | gawk '{print $2}' )
|
||||||
if [[ -n $version ]];then
|
if [[ -n $version ]];then
|
||||||
|
|
Loading…
Reference in a new issue