diff --git a/inxi b/inxi index 90ad0da..fd0531b 100755 --- a/inxi +++ b/inxi @@ -2676,7 +2676,7 @@ detect_desktop_environment() fi desktop_environment="FVWM${version}" elif [[ -n $( grep -is 'pekwm' <<< "$ps_aux" | grep -v 'grep' ) ]];then - version=$( pekwm --version 2>/dev/null | grep -Esi 'pekwm ([[:digit:]]|GIT)' | gawk '{print $3}' ) + version=$( pekwm --version 2>/dev/null | grep -Esi 'pekwm.*([[:digit:]]|GIT)' | gawk '{print $3}' ) if [[ -n $version ]];then version=" $version" fi