kill existing dmenu prior to asking SIM PIN
This commit is contained in:
parent
ceaea60141
commit
ae3e1edd9c
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/unlocksim" ]; then
|
||||||
"$XDG_CONFIG_HOME/sxmo/hooks/unlocksim" "$(sim_n)"
|
"$XDG_CONFIG_HOME/sxmo/hooks/unlocksim" "$(sim_n)"
|
||||||
else
|
else
|
||||||
retry=1
|
retry=1
|
||||||
|
pkill dmenu #kill existing dmenu
|
||||||
while [ $retry -eq 1 ]; do
|
while [ $retry -eq 1 ]; do
|
||||||
PICKED="$(
|
PICKED="$(
|
||||||
echo -e "Cancel\n0000\n1234" | sxmo_dmenu_with_kb.sh -l 3 -c -p "PIN:" | tr -d "\n\r "
|
echo -e "Cancel\n0000\n1234" | sxmo_dmenu_with_kb.sh -l 3 -c -p "PIN:" | tr -d "\n\r "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue