Compare commits
2
Commits
049762e32a
...
134110d8e2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
134110d8e2 | ||
|
|
a4ed74c6b3 |
+4
-2
@@ -54,7 +54,7 @@ show_message() {
|
|||||||
--confirm-show \
|
--confirm-show \
|
||||||
--confirm-button A \
|
--confirm-button A \
|
||||||
--confirm-text "$BTN" \
|
--confirm-text "$BTN" \
|
||||||
--timeout -1 >> "$LOG_FILE" 2>&1
|
--timeout 0 >> "$LOG_FILE" 2>&1
|
||||||
else
|
else
|
||||||
echo "$MSG" >> "$LOG_FILE"
|
echo "$MSG" >> "$LOG_FILE"
|
||||||
fi
|
fi
|
||||||
@@ -64,7 +64,7 @@ BUSY_PID=""
|
|||||||
start_busy() {
|
start_busy() {
|
||||||
stop_busy
|
stop_busy
|
||||||
if [ -n "$MINUI_PRESENTER" ]; then
|
if [ -n "$MINUI_PRESENTER" ]; then
|
||||||
"$MINUI_PRESENTER" --message "$1" --timeout 0 >> "$LOG_FILE" 2>&1 &
|
"$MINUI_PRESENTER" --message "$1" --timeout -1 >> "$LOG_FILE" 2>&1 &
|
||||||
BUSY_PID=$!
|
BUSY_PID=$!
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -77,6 +77,8 @@ stop_busy() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
trap stop_busy EXIT INT TERM
|
||||||
|
|
||||||
# Runs minui-list using --write-location (reliable across all NextUI platforms)
|
# Runs minui-list using --write-location (reliable across all NextUI platforms)
|
||||||
pick_from_list() {
|
pick_from_list() {
|
||||||
LIST_FILE="$1"
|
LIST_FILE="$1"
|
||||||
|
|||||||
Reference in new issue
Block a user