From c8468a647ebda0a0aef3cbd1db3b25b21185c8e4 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 21 Jun 2011 02:15:16 +0000 Subject: [PATCH] whoops, wrong one, added jwm to de --- inxi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index f79b6f2..1ec4bfc 100755 --- a/inxi +++ b/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