let user set keyboard layout, hopefully fixes #34

This commit is contained in:
Rasmus Steinke 2016-07-31 21:15:18 +02:00
parent 2f396c51f7
commit b3474522b8
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@ _rofi () {
rofi -i -width 700 -no-levenshtein-sort "$@"
}
# keyboard layout (set this to your actual layout. E.g. keyboard="de us"
keyboard=us
# fields to be used
URL_field='url'

View File

@ -40,6 +40,8 @@ help="Alt+h"
switch="Alt+x"
insert_pass="Alt+n"
setxkbmap "${keyboard}"
# get all password files and create an array
list_passwords() {
cd "${root}" || exit