diff options
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | rofi-pass | 7 |
2 files changed, 1 insertions, 8 deletions
@@ -72,7 +72,7 @@ Also included is an import script for keepass2 databases. It's the same script t ## FAQ * rofi pass prints garbage instead of my actual passes -** Set your keyboard layout in config +** Make sure to run `setxkbmap <language> <variant>` at the start of your Xorg session. ## Alternative @@ -561,13 +561,6 @@ if [[ ! -d "$HOME/.cache/rofi-pass" ]]; then mkdir "$HOME/.cache/rofi-pass" fi -if [[ -n $keyboard ]]; then - setxkbmap ${keyboard} -else - keyboard=$(setxkbmap -query | grep layout | grep -oE '[^: ]+$') - setxkbmap ${keyboard} -fi - # set help color if [[ $help_color == "" ]]; then help_color=$(rofi -dump-xresources | grep 'rofi.color.normal' | gawk -F ',' '/,/{gsub(/ /, "", $2); print $2}') |