From 4751d077f2364ca0ea74ed713b21cbbc87a0bbdb Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sun, 22 May 2011 00:15:55 +0000 Subject: [PATCH] trying a konvi fix --- inxi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index bc285e2..ec4a84f 100755 --- a/inxi +++ b/inxi @@ -1997,7 +1997,13 @@ get_start_client() done B_CONSOLE_IRC='true' if [[ -z $IRC_CLIENT_VERSION ]];then - IRC_CLIENT="Unknown Perl client" + # this is a hack to try to show konversation if it is running + if [[ -z $( ps aux | grep -i 'konversation' ) ]];then + IRC_CLIENT="Unknown Perl client" + else + IRC_CLIENT='Konversation' + IRC_CLIENT_VERSION=" $( konversation --version 2>/dev/null | gawk '/^Konversation/ {print $2}' )" + fi fi ;; # then unset, set unknown data