config 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # permanently set alternative root dir. Use ":" to separate multiple roots
  2. # which can be switched at runtime with shift+left/right
  3. # root=/path/to/root
  4. # rofi command. Make sure to have "$@" as last argument
  5. _rofi () {
  6. rofi -i -no-auto-select "$@"
  7. }
  8. # default command to generate passwords
  9. _pwgen () {
  10. pwgen -y "$@"
  11. }
  12. # image viewer to display qrcode of selected entry
  13. # qrencode is needed to generate the image and a viewer
  14. # that can read from pipes. Known viewers to work are feh and display
  15. _image_viewer () {
  16. feh -
  17. # display
  18. }
  19. # xdotool needs the keyboard layout to be set using setxkbmap
  20. # You can do this in your autostart scripts (e.g. xinitrc)
  21. # If for some reason, you cannot do this, you can set the command here.
  22. # and set fix_layout to true
  23. fix_layout=false
  24. layout_cmd () {
  25. setxkbmap us
  26. }
  27. # fields to be used
  28. URL_field='url'
  29. USERNAME_field='login'
  30. AUTOTYPE_field='autotype'
  31. # delay to be used for :delay keyword
  32. delay=2
  33. # rofi-pass needs to close itself before it can type passwords. Set delay here.
  34. wait=0.2
  35. # delay between keypresses when typing (in ms)
  36. xdotool_delay=12
  37. ## Programs to be used
  38. # Editor
  39. EDITOR='gvim -f'
  40. # Browser
  41. #BROWSER='xdg-open'
  42. BROWSER='qutebrowser'
  43. ## Misc settings
  44. default_do='menu' # menu, autotype, copyPass, typeUser, typePass, copyUser, copyUrl, viewEntry, typeMenu, actionMenu, copyMenu, openUrl
  45. #auto_enter='false'
  46. auto_enter='true'
  47. notify='false'
  48. default_autotype='user :tab pass'
  49. # color of the help messages
  50. # leave empty for autodetection
  51. #help_color="#4872FF"
  52. help_color='#0C73C2'
  53. # Clipboard settings
  54. # Possible options: primary, clipboard, both
  55. clip=primary
  56. # Seconds before clearing pass from clipboard
  57. clip_clear=45
  58. ## Options for generating new password entries
  59. # open new password entries in editor
  60. edit_new_pass="true"
  61. # default_user is also used for password files that have no user field.
  62. #default_user="${ROFI_PASS_DEFAULT_USER-$(whoami)}"
  63. #default_user2=mary_ann
  64. #password_length=12
  65. # Custom Keybindings
  66. autotype="Alt+1"
  67. type_user="Alt+2"
  68. type_pass="Alt+3"
  69. open_url="Alt+4"
  70. copy_name="Alt+u"
  71. copy_url="Alt+l"
  72. copy_pass="Alt+p"
  73. show="Alt+o"
  74. copy_entry="Alt+2"
  75. type_entry="Alt+1"
  76. copy_menu="Alt+c"
  77. action_menu="Alt+a"
  78. type_menu="Alt+t"
  79. help="Alt+h"
  80. switch="Alt+x"
  81. insert_pass="Alt+n"