dont run setxkbmap if keyboard variable is unset
This commit is contained in:
parent
b3474522b8
commit
132dce5a5f
@ -7,7 +7,7 @@ _rofi () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# keyboard layout (set this to your actual layout. E.g. keyboard="de us"
|
# keyboard layout (set this to your actual layout. E.g. keyboard="de us"
|
||||||
keyboard=us
|
#keyboard=us
|
||||||
|
|
||||||
# fields to be used
|
# fields to be used
|
||||||
URL_field='url'
|
URL_field='url'
|
||||||
|
@ -40,7 +40,9 @@ help="Alt+h"
|
|||||||
switch="Alt+x"
|
switch="Alt+x"
|
||||||
insert_pass="Alt+n"
|
insert_pass="Alt+n"
|
||||||
|
|
||||||
setxkbmap "${keyboard}"
|
if [[ -n $keyboard ]]; then
|
||||||
|
setxkbmap "${keyboard}"
|
||||||
|
fi
|
||||||
|
|
||||||
# get all password files and create an array
|
# get all password files and create an array
|
||||||
list_passwords() {
|
list_passwords() {
|
||||||
|
Loading…
Reference in New Issue
Block a user