From 4ca5ef03316b546b9737f7f1b2102a90ed30dac7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 26 Nov 2017 10:48:49 +0100 Subject: rofi: Add initial rofi-pass config --- rofi/.config/rofi-pass/config | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 rofi/.config/rofi-pass/config (limited to 'rofi/.config/rofi-pass/config') diff --git a/rofi/.config/rofi-pass/config b/rofi/.config/rofi-pass/config new file mode 100644 index 00000000..ad997ba8 --- /dev/null +++ b/rofi/.config/rofi-pass/config @@ -0,0 +1,77 @@ +# -*- mode: sh; -*- +# permanently set alternative root dir. Use ":" to separate multiple roots +# which can be switched at runtime with shift+left/right +# root=/path/to/root + +# rofi command. Make sure to have "$@" as last argument +_rofi () { + rofi -i -no-auto-select "$@" +} + +# xdotool needs the keyboard layout to be set using setxkbmap +# You can do this in your autostart scripts (e.g. xinitrc) + +# If for some reason, you cannot do this, you can set the command here. +# and set fix_layout to true +fix_layout=false + +layout_cmd () { + setxkbmap us +} + +# fields to be used +URL_field='url' +USERNAME_field='login' +AUTOTYPE_field='autotype' + +# delay to be used for :delay keyword +delay=2 + +# rofi-pass needs to close itself before it can type passwords. Set delay here. +wait=0.2 + +## Programs to be used +# Editor +EDITOR='emacsclient' + +# Browser +# BROWSER='google-chrome-stable' + +## Misc settings + +default_do='menu' # menu, autotype, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl +auto_enter='false' +notify='false' +default_autotype='login :tab pass' + +# color of the help messages +# leave empty for autodetection +help_color="#4872FF" + +# Clipboard settings +# Possible options: primary, clipboard, both +clip=both + +# Options for generating new password entries +# default_user is also used for password files that have no user field. +#default_user=john_doe +#default_user2=mary_ann +#password_length=12 + +# Custom Keybindings +autotype="Alt+1" +type_user="Alt+2" +type_pass="Alt+3" +open_url="Alt+4" +copy_name="Alt+u" +copy_url="Alt+l" +copy_pass="Alt+p" +show="Alt+o" +copy_entry="Alt+2" +type_entry="Alt+1" +copy_menu="Alt+c" +action_menu="Alt+a" +type_menu="Alt+t" +help="Alt+h" +switch="Alt+x" +insert_pass="Alt+n" -- cgit 1.4.1