mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 17:07:49 +00:00
whoops, wrong one, added jwm to de
This commit is contained in:
parent
8baf141a34
commit
c8468a647e
7
inxi
7
inxi
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue