whoops, wrong one, added jwm to de

This commit is contained in:
inxi-svn 2011-06-21 02:15:16 +00:00
parent 8baf141a34
commit c8468a647e

7
inxi
View file

@ -3,7 +3,7 @@
#### Script Name: inxi
#### version: 1.7.5
#### Date: June 20 2011
#### Patch Number: 01
#### Patch Number: 02
########################################################################
#### SPECIAL THANKS
########################################################################
@ -3172,6 +3172,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
@ -3189,7 +3192,7 @@ get_de_version()
local version_data='' version='' get_version='--version'
case $1 in
dwm|wmii)
dwm|jwm|wmii)
get_version='-v'
;;
esac