| 1 | # permanently set alternative root dir |
| 2 | # root=/path/to/root |
| 3 | |
| 4 | # rofi command. Make sure to have "$@" as last argument |
| 5 | _rofi () { |
| 6 | #rofi -no-auto-select -kb-accept-entry "!Return" -i -no-levenshtein-sort "$@" |
| 7 | rofi -i -no-auto-select -kb-accept-entry "!Return" "$@" |
| 8 | } |
| 9 | |
| 10 | # xdotool needs the keyboard layout to be set using setxkbmap |
| 11 | # You can do this in your autostart scripts (e.g. xinitrc) |
| 12 | |
| 13 | # If for some reason, you cannot do this, you can set the command here. |
| 14 | # and set fix_layout to true |
| 15 | fix_layout=false |
| 16 | |
| 17 | layout_cmd () { |
| 18 | setxkbmap us |
| 19 | } |
| 20 | |
| 21 | # fields to be used |
| 22 | URL_field='url' |
| 23 | USERNAME_field='user' |
| 24 | AUTOTYPE_field='autotype' |
| 25 | |
| 26 | # delay to be used for :delay keyword |
| 27 | delay=2 |
| 28 | |
| 29 | ## Programs to be used |
| 30 | # Editor |
| 31 | EDITOR='gvim -f' |
| 32 | |
| 33 | # Browser |
| 34 | BROWSER='chromium' |
| 35 | |
| 36 | ## Misc settings |
| 37 | |
| 38 | default_do='menu' # menu, autotype, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl |
| 39 | auto_enter='false' |
| 40 | notify='false' |
| 41 | default_autotype='user :tab pass' |
| 42 | |
| 43 | # color of the help messages |
| 44 | # leave empty for autodetection |
| 45 | help_color="#4872FF" |
| 46 | |
| 47 | # Clipboard settings |
| 48 | # Possible options: primary, clipboard, both |
| 49 | clip=primary |
| 50 | |
| 51 | # Options for generating new password entries |
| 52 | # default_user is also used for password files that have no user field. |
| 53 | default_user=aminb |
| 54 | default_user2=bandali |
| 55 | password_length=30 |
| 56 | |
| 57 | # Custom Keybindings |
| 58 | #autotype="Alt+1" |
| 59 | autotype="Alt+m" |
| 60 | type_user="Alt+2" |
| 61 | type_pass="Alt+3" |
| 62 | open_url="Alt+4" |
| 63 | copy_name="Alt+u" |
| 64 | copy_url="Alt+l" |
| 65 | copy_pass="Alt+p" |
| 66 | show="Alt+o" |
| 67 | copy_entry="Alt+2" |
| 68 | type_entry="Alt+1" |
| 69 | copy_menu="Alt+c" |
| 70 | action_menu="Alt+a" |
| 71 | type_menu="Alt+t" |
| 72 | help="Alt+h" |
| 73 | switch="Alt+x" |
| 74 | insert_pass="Alt+n" |