kindle: Stop awesome regardless whether KOReader was launched from KUAL or not (#15608)

This commit is contained in:
Hackerdude authored and GitHub committed 2026-06-27 22:51:29 +02:00
1 parent 1b1c0d2b9b
commit 51b08aff13
1 file changed
+3 -5
+3 -5
View File
@@ -270,11 +270,9 @@ if [ "${STOP_FRAMEWORK}" = "no" ] && [ "${INIT_TYPE}" = "upstart" ]; then
logmsg "Title bar geometry: '${TITLEBAR_GEOMETRY}' -> '$("${KOREADER_DIR}/wmctrl" -l -G | grep ":titleBar_ID:" | awk '{print $2,$3,$4,$5,$6}' OFS=',')'"
USED_WMCTRL="yes"
fi
if [ "${FROM_KUAL}" = "yes" ]; then
logmsg "Stopping awesome . . ."
killall -STOP awesome
AWESOME_STOPPED="yes"
fi
logmsg "Stopping awesome . . ."
killall -STOP awesome
AWESOME_STOPPED="yes"
fi
else
logmsg "Hiding the status bar . . ."