mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
tweak
This commit is contained in:
parent
fc6cd65d66
commit
15b9351a0a
2
inxi
2
inxi
|
@ -2632,7 +2632,7 @@ detect_desktop_environment()
|
|||
desktop_environment="Openbox${version}"
|
||||
fi
|
||||
elif [[ -n $( grep -is 'ICEWM' <<< "$xprop_root" ) ]];then
|
||||
version=$( icewm --version 2>/dev/null | grep -Esi 'iceWM [[:digit:]]' | gawk '{print $2}' )
|
||||
version=$( icewm --version 2>/dev/null | grep -Esi 'iceWM [[:digit:]]' | gawk '{gsub(/,/, ""); print $2}' )
|
||||
if [[ -n $version ]];then
|
||||
version=" $version"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue