mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
added jwm to de
This commit is contained in:
parent
581757957a
commit
c0b9e3d467
5
inxi
5
inxi
|
@ -3157,6 +3157,9 @@ get_desktop_environment()
|
|||
elif [[ -n $( grep -is 'wmii' <<< "$ps_aux" | grep -v 'grep' ) ]];then
|
||||
version=$( get_de_version 'wmii' '^wmii' '1' )
|
||||
desktop_environment='wmii'
|
||||
elif [[ -n $( grep -is 'jwm' <<< "$ps_aux" | grep -v 'grep' ) ]];then
|
||||
version=$( get_de_version 'jwm' '^jwm' '2' )
|
||||
desktop_environment='JWM'
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -3174,7 +3177,7 @@ get_de_version()
|
|||
local version_data='' version='' get_version='--version'
|
||||
|
||||
case $1 in
|
||||
dwm|wmii)
|
||||
dwm|jwm|wmii)
|
||||
get_version='-v'
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue