diff --git a/qb b/qb index a381491..5b3a0e2 100755 --- a/qb +++ b/qb @@ -276,7 +276,7 @@ goto_url() { # {{{ debug_message "goto_url − \ Manage ${RED}${url}${COLOR_DEBUG} URL" - ## Go to an existent buffer with the expected URL + ## Go to an existent tab with the expected URL ### Or open the URL in a new buffer is_url_in_buffer \ || open_in_qutebrowser @@ -288,7 +288,7 @@ switch_qutebrowser_buffer() { # {{{ debug_message "switch_qutebrowser_buffer − \ Try to switch to buffer id: ${buffer_id}." - echo "{\"args\":[\":buffer ${buffer_id}\"], \"target_arg\":\"\", \"protocol_version\":1}" |\ + echo "{\"args\":[\":tab-select ${buffer_id}\"], \"target_arg\":\"\", \"protocol_version\":1}" |\ socat - UNIX-CONNECT:"${QUTEBROWSER_SOCKET_FILE}" ## Ensure to focus on expected buffer