From 61f337f4fd3c3fc1e45be15a4922eec6931ca967 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 9 May 2018 11:12:04 -0400 Subject: [PATCH] [rc/rofi-pass] work around Roundcube bug in Firefox Roundcube appears to be doing some JS magic that reacts badly with rofi-pass: selecting an entry in rofi-pass by pressing enter causes Roundcube to move focus from the username field to the password field, which completely messes up rofi-pass' autotype. Strangely enough, this doesn't happen in Chromium and I've only seen it in Firefox. --- rc.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.org b/rc.org index c85ba68..b07a51e 100644 --- a/rc.org +++ b/rc.org @@ -3459,7 +3459,7 @@ rofi.theme: /usr/share/rofi/themes//gruvbox-light.rasi # rofi command. Make sure to have "$@" as last argument _rofi () { #rofi -no-auto-select -kb-accept-entry "!Return" -i -no-levenshtein-sort "$@" - rofi -i -no-auto-select "$@" + rofi -i -no-auto-select -kb-accept-entry "!Return" "$@" } # xdotool needs the keyboard layout to be set using setxkbmap -- 2.20.1