diff --git a/inxi b/inxi index 2180b04..2c815d1 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.7.21-test #### Date: July 25 2011 -#### Patch Number: 02 +#### Patch Number: 03 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -2511,7 +2511,20 @@ get_start_client() IRC_CLIENT_VERSION=" $( konversation --version 2>/dev/null | gawk '/^Konversation/ {print $2}' )" B_CONSOLE_IRC='false' else - IRC_CLIENT="Unknown Perl client" + IRC_CLIENT="Unknown $app_working_name client" + fi + fi + ;; + python*) + # B_CONSOLE_IRC='true' + if [[ -z $IRC_CLIENT_VERSION ]];then + # this is a hack to try to show konversation if inxi is running but started via /cmd + if [[ -n $( ps aux | grep -i 'konversation' | grep -v 'grep' ) && $B_RUNNING_IN_X == 'true' ]];then + IRC_CLIENT='Konversation' + IRC_CLIENT_VERSION=" $( konversation --version 2>/dev/null | gawk '/^Konversation/ {print $2}' )" + B_CONSOLE_IRC='false' + else + IRC_CLIENT="Unknown $app_working_name client" fi fi ;;