diff --git a/config.example b/config.example index 8241967..ba17a51 100644 --- a/config.example +++ b/config.example @@ -7,7 +7,7 @@ _rofi () { } # keyboard layout (set this to your actual layout. E.g. keyboard="de us" -keyboard=us +#keyboard=us # fields to be used URL_field='url' diff --git a/rofi-pass b/rofi-pass index bfc022d..08cea2d 100755 --- a/rofi-pass +++ b/rofi-pass @@ -40,7 +40,9 @@ help="Alt+h" switch="Alt+x" insert_pass="Alt+n" -setxkbmap "${keyboard}" +if [[ -n $keyboard ]]; then + setxkbmap "${keyboard}" +fi # get all password files and create an array list_passwords() {