SIGKILL on close menu in dialer
This commit is contained in:
parent
4814701e00
commit
f058e17369
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ dialmenu() {
|
||||||
grep . |
|
grep . |
|
||||||
sxmo_dmenu_with_kb.sh -l 10 -p Number -c -fn Terminus-20
|
sxmo_dmenu_with_kb.sh -l 10 -p Number -c -fn Terminus-20
|
||||||
)"
|
)"
|
||||||
echo "$NUMBER" | grep "Close Menu" && kill 0
|
echo "$NUMBER" | grep "Close Menu" && kill -9 0
|
||||||
|
|
||||||
NUMBER="$(echo "$NUMBER" | cut -d: -f1 | tr -d -- '- ')"
|
NUMBER="$(echo "$NUMBER" | cut -d: -f1 | tr -d -- '- ')"
|
||||||
echo "$NUMBER" | grep -qE '^[+0-9]+$' || fatalerr "$NUMBER is not a number"
|
echo "$NUMBER" | grep -qE '^[+0-9]+$' || fatalerr "$NUMBER is not a number"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue