~mil/sxmo-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH sxmo-utils] sxmo_dmenu_with_kb should exit the dmenu exit code

Details
Message ID
<20210420094517.14069-1-contact@stacyharper.net>
DKIM signature
pass
Download raw message
Patch: +2 -0
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>
---
 scripts/core/sxmo_dmenu_with_kb.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/core/sxmo_dmenu_with_kb.sh b/scripts/core/sxmo_dmenu_with_kb.sh
index f855b8a..2ed0fab 100755
--- a/scripts/core/sxmo_dmenu_with_kb.sh
+++ b/scripts/core/sxmo_dmenu_with_kb.sh
@@ -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
-- 
2.31.1

[sxmo-utils/patches/.build.yml] build success

builds.sr.ht
Details
Message ID
<CASGE5S5X85O.ETWGFU3L4LI4@cirno>
In-Reply-To
<20210420094517.14069-1-contact@stacyharper.net> (view parent)
DKIM signature
missing
Download raw message
sxmo-utils/patches/.build.yml: SUCCESS in 32s

[sxmo_dmenu_with_kb should exit the dmenu exit code][0] from [Stacy Harper][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/22168
[1]: mailto:contact@stacyharper.net

✓ #491251 SUCCESS sxmo-utils/patches/.build.yml https://builds.sr.ht/~mil/job/491251
Details
Message ID
<20210423171835.ijxqztjyeikf263l@worker.anaproy.lxd>
In-Reply-To
<20210420094517.14069-1-contact@stacyharper.net> (view parent)
DKIM signature
missing
Download raw message
Good idea, applied.

--

Maarten van Gompel (proycon)
https://proycon.anaproy.nl
Reply to thread Export thread (mbox)