diff --git a/qb b/qb index feb161c..a381491 100755 --- a/qb +++ b/qb @@ -42,6 +42,10 @@ define_vars() { # {{{ ## List of process pattern to monitor qutebrowser_proc_pattern="(qutebrowser)" + ## Rofi colors + black="#000000" + blue="#0094cc" + ## Store selected content to a temp file choice_temp_file="$(mktemp -t ${PROGNAME}-XXXXXX.tmp)" @@ -219,7 +223,7 @@ goto_qutebrowser_content() { # {{{ debug_message "goto_qutebrowser_content − \ Search in Qutebrowser's content ${QUTEBROWSER_GLOBAL_CONTENT} file." - st -g 90x30+0+540 -n QuteBrowserSearch -t QuteBrowserQuteBrowserSearch -e sh -c "cat ${QUTEBROWSER_GLOBAL_CONTENT} | dmenu -l 15 -i -p 'Search with Engine' > ${choice_temp_file}" + rofi -dmenu -location 6 -lines 15 -width 80 -p 'Qutebrowser' -color-enabled -color-normal "${black},${blue},${black},${blue},${black}" -color-window "${black},${black}" > "${choice_temp_file}" < "${QUTEBROWSER_GLOBAL_CONTENT}" if [ -s "${choice_temp_file}" ]; then debug_message "goto_qutebrowser_content − \