Skip to content

Commit

Permalink
let user set keyboard layout, hopefully fixes #34
Browse files Browse the repository at this point in the history
  • Loading branch information
carnager committed Jul 31, 2016
1 parent 2f396c5 commit b347452
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.example
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 2 additions & 0 deletions rofi-pass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b347452

Please sign in to comment.