diff --git a/config.example b/config.example index fd748cf..8241967 100644 --- a/config.example +++ b/config.example @@ -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' diff --git a/rofi-pass b/rofi-pass index 4c405eb..bfc022d 100755 --- a/rofi-pass +++ b/rofi-pass @@ -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