]> git.phdru.name Git - IM.git/blobdiff - im-status.sh
Fix call to `gajim-remote`: hide excessive messages
[IM.git] / im-status.sh
index 732cf975b91bbb298c692968d59ae26c033059d1..8d5685bb2f430948cee6165967570209a8a92361 100755 (executable)
@@ -33,9 +33,8 @@ case "$LC_CTYPE" in
    ;;
 esac
 
-n900-status-wifi "$1" &&
 xtitle "$1" "$2" "$title" &&
-if [ "`gajim-remote check_gajim_running 2>/dev/null`" = True ]; then
+if [ "`gajim-remote check_gajim_running 2>/dev/null | tail -1`" = True ]; then
    gajim-remote change_status "$2" "$title"
 else
    purple-remote "setstatus?status=$status&message=$status_msg"