sxmo_dmenu_with_kb should exit the dmenu exit code
Some script could behave differently if the dmenu has been killed with a swipe up gesture. We have to return the dmenu exit code. Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
6426a94e46
commit
7ac78f8272
1 changed files with 2 additions and 0 deletions
|
@ -9,5 +9,7 @@ wasopen="$(sxmo_keyboard.sh isopen && echo "yes")"
|
|||
|
||||
sxmo_keyboard.sh open
|
||||
OUTPUT="$(cat | dmenu "$@")"
|
||||
exitcode=$?
|
||||
[ -z "$wasopen" ] && sxmo_keyboard.sh close
|
||||
echo "$OUTPUT"
|
||||
exit $exitcode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue