2016-10-25 14:30:44 +02:00
|
|
|
_rofi () {
|
2018-01-11 12:17:24 +01:00
|
|
|
rofi -i -no-levenshtein-sort "$@"
|
2016-10-25 14:30:44 +02:00
|
|
|
}
|
2015-11-17 13:43:44 +01:00
|
|
|
|
|
|
|
# fields to be used
|
|
|
|
URL_field='url'
|
|
|
|
USERNAME_field='user'
|
|
|
|
AUTOTYPE_field='autotype'
|
|
|
|
|
|
|
|
# delay to be used for :delay keyword
|
|
|
|
delay=2
|
|
|
|
|
|
|
|
## Programs to be used
|
|
|
|
# Editor
|
2018-01-11 12:17:24 +01:00
|
|
|
EDITOR='kate'
|
2015-11-17 13:43:44 +01:00
|
|
|
|
|
|
|
# Browser
|
|
|
|
BROWSER='firefox'
|
|
|
|
|
|
|
|
## Misc settings
|
|
|
|
help_color='#0C73C2'
|
|
|
|
auto_enter='false'
|
|
|
|
notify='false'
|
|
|
|
passlength='20'
|
|
|
|
|
|
|
|
# seconds to wait before re-opening showEntry-menu
|
|
|
|
# after autotyping an entry. Set to "off" to disable
|
|
|
|
count=2
|
|
|
|
|
|
|
|
# Clipboard settings
|
|
|
|
# Possible options: primary, clipboard, both
|
2015-11-20 19:24:17 +01:00
|
|
|
clip=clipboard
|
2015-11-17 13:43:44 +01:00
|
|
|
|
2018-08-10 22:37:24 +02:00
|
|
|
# Fix keyboard layout
|
|
|
|
fix_layout=true
|
|
|
|
|
|
|
|
layout_cmd () {
|
|
|
|
setxkbmap de
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-11-17 13:43:44 +01:00
|
|
|
# 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"
|
2015-11-20 19:24:17 +01:00
|
|
|
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"
|