mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
awesome bug fix
This commit is contained in:
parent
fc0598d2e7
commit
7f928d583f
2
inxi
2
inxi
|
@ -2682,7 +2682,7 @@ detect_desktop_environment()
|
|||
fi
|
||||
desktop_environment="pekwm${version}"
|
||||
elif [[ -n $( grep -is 'awesome' <<< "$ps_aux" | grep -v 'grep' ) ]];then
|
||||
version=$( awesome --version 2>/dev/null | grep -Esi 'awesome ([[:digit:]]|GIT)' | gawk '{print $2}' )
|
||||
version=$( awesome --version 2>/dev/null | grep -Esi 'awesome' | gawk '{print $2}' )
|
||||
if [[ -n $version ]];then
|
||||
version=" $version"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue