config 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. notify='false'
  47. default_autotype='user :tab pass'
  48. # color of the help messages
  49. # leave empty for autodetection
  50. #help_color="#4872FF"
  51. help_color='#0C73C2'
  52. # Clipboard settings
  53. # Possible options: primary, clipboard, both
  54. clip=primary
  55. # Seconds before clearing pass from clipboard
  56. clip_clear=45
  57. ## Options for generating new password entries
  58. # open new password entries in editor
  59. edit_new_pass="true"
  60. # default_user is also used for password files that have no user field.
  61. #default_user="${ROFI_PASS_DEFAULT_USER-$(whoami)}"
  62. #default_user2=mary_ann
  63. #password_length=12
  64. # Custom Keybindings
  65. autotype="Alt+1"
  66. type_user="Alt+2"
  67. type_pass="Alt+3"
  68. open_url="Alt+4"
  69. copy_name="Alt+u"
  70. copy_url="Alt+l"
  71. copy_pass="Alt+p"
  72. show="Alt+o"
  73. copy_entry="Alt+2"
  74. type_entry="Alt+1"
  75. copy_menu="Alt+c"
  76. action_menu="Alt+a"
  77. type_menu="Alt+t"
  78. help="Alt+h"
  79. switch="Alt+x"
  80. insert_pass="Alt+n"