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