Add support for qutebrowser

Fixes #56.
performance
Fox Kiester 6 years ago
parent 89d2e4ffce
commit 7eaa3b517d
No known key found for this signature in database
GPG Key ID: 316E205D6017DBFF

@ -503,6 +503,8 @@ maybe_cancel_auto_show() {
} }
# * Dropdown Initialization # * Dropdown Initialization
# TODO ideally this function wouldn't be necessary and some external program
# (something like xtoolwait) could be used to return the wid
create_win_return_wid() { create_win_return_wid() {
local blacklist program_command pid visible_wid wids wid program_wid local blacklist program_command pid visible_wid wids wid program_wid
# blacklist all existing wids of program # blacklist all existing wids of program
@ -544,6 +546,9 @@ create_win_return_wid() {
if [[ $program == discord ]]; then if [[ $program == discord ]]; then
wids=$(xdotool search --classname discord) wids=$(xdotool search --classname discord)
blacklist= blacklist=
elif [[ $program == qutebrowser ]]; then
# one pid, but can't use for getting wids with xdotool
wids=$(xdotool search --classname qutebrowser)
elif [[ $program =~ ^emacsclient ]]; then elif [[ $program =~ ^emacsclient ]]; then
wids=$(xdotool search --classname emacs) wids=$(xdotool search --classname emacs)
else else

Loading…
Cancel
Save