diff --git a/inxi b/inxi index efa6fd0..6e0b755 100755 --- a/inxi +++ b/inxi @@ -1998,12 +1998,12 @@ get_start_client() B_CONSOLE_IRC='true' if [[ -z $IRC_CLIENT_VERSION ]];then # this is a hack to try to show konversation if it is running - if [[ -z $( ps aux | grep -i 'konversation' ) || $B_RUNNING_IN_X == 'false' ]];then - IRC_CLIENT="Unknown Perl client" - else + if [[ -n $( ps aux | grep -i 'konversation' ) && $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 Perl client" fi fi ;;