aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/rofi-pass/config15
1 files changed, 15 insertions, 0 deletions
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
+}
+