- Default CPU_RPM_SLEEP=0, CPU_L2_SLEEP=0, and MODEM_DRX_MODE=0 across bananarchy-power-policy.conf, bananarchy-power-policy.sh, bananarchy-display-power-sync, and kernel patch 0010 so closed-flip incoming calls wake APSS promptly via smd-edge without AT port contention. - Serialize sxmo_modem.sh incoming/finished call checks, expire stale /tmp/sxmo_hangup_requested flags, re-verify live ModemManager call state before ringing/raising callscreen, guard idle/flip-open HANGUP_CLOSE paths in locker.so, callscreen.so, bananarchy-idle-lock.sh, and bananarchy-lid, preserve calls on flip-open (UNGRAB/RAISE), and add closed-flip cover call controls (bananarchy-cover-idle, bananarchy-cover-event.sh, bananarchy-volume-keys). - Propagate live network/manual timezone updates across statusbar, locker.so, bananarchy-cover-idle, bananarchy-dsds, callscreen.so, and bananarchy-run-aligned without reboot (scripts/test-time-timezone-sync.py), remove non-functional Logout from the Power menu, ignore post-call sxmo_calls markers, add scripts/build-dwm-plugins.sh, and update a1114 (carbonara) hashes and docs.
41 lines
794 B
Bash
Executable File
41 lines
794 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
# Copyright 2022 Sxmo Contributors
|
|
|
|
# include common definitions
|
|
# shellcheck source=scripts/core/sxmo_common.sh
|
|
. sxmo_common.sh
|
|
|
|
change_alpine() {
|
|
echo "Changing timezone to $1"
|
|
|
|
doas -n setup-timezone -z "$1" 2>/dev/null || doas setup-timezone -z "$1"
|
|
if [ -x /usr/bin/bananarchy-time-sync.sh ]; then
|
|
/usr/bin/bananarchy-time-sync.sh refresh-ui >/dev/null 2>&1 || true
|
|
else
|
|
sxmo_hook_statusbar.sh time
|
|
fi
|
|
|
|
echo "Timezone changed ok"
|
|
}
|
|
|
|
menu() {
|
|
zoneinfo_dir=$(xdg_data_path zoneinfo)
|
|
T="$(
|
|
find "$zoneinfo_dir" -type f |
|
|
sed "s#^${zoneinfo_dir}/##g" |
|
|
sort |
|
|
sxmo_dmenu.sh -p Timezone -i
|
|
)" || exit 0
|
|
sxmo_terminal.sh "$0" "$T"
|
|
}
|
|
|
|
if [ $# -gt 0 ]; then
|
|
trap "read -r" EXIT
|
|
set -e
|
|
|
|
change_alpine "$@"
|
|
else
|
|
menu
|
|
fi
|