From cd3a460d9a9f8d062719bd04a63692d5d52e0a66 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 28 Feb 2024 15:18:41 +0100 Subject: temporarily turn off fcitx5 for typing password with xdotool --- .config/rofi-pass/config | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.config/rofi-pass/config b/.config/rofi-pass/config index e92b050..595fb51 100644 --- a/.config/rofi-pass/config +++ b/.config/rofi-pass/config @@ -1,5 +1,10 @@ #!/bin/sh +# make sure the filename is used as the account name USERNAME_field='path' +default_user=':filename' +default_autotype="path :tab pass" + +# pass custom rofi flags _rofi() { rofi \ -i \ @@ -7,3 +12,13 @@ _rofi() { -config "$XDG_CONFIG_HOME/rofi-pass/rofi.rasi" \ "$@" } + +_do_type_xdotool() { + fcitx5-temp-off + + # this is the default command + xdotool type --delay ${type_delay} --clearmodifiers --file - + + fcitx5-temp-restore +} + -- cgit v1.2.3