Release a1111 (lennon): isolate nokia-argon slider from 2720 Flip cover stack
- Write /usr/share/bananarchy/lid-profile per target in apply-bananarchy-overlay.sh (slider on nokia-argon, flip on nokia-beatles, none elsewhere), disable flip runlevel services, cover udev/config, and mux module loads on non-flip builds, and exit 0 immediately in flip daemons/init scripts when lid-profile != flip - Guard startup Escape grab cleanup when locked and gate lid-state checks in display-power-sync, locker.so, and callscreen.so on lid-profile == flip so nokia-argon keeps pure a1108 sliding-lid behaviour - Ship active-high shared cover backlight (kernel_backlight_invert = 0), active-black internal panel isolation (kernel_internal_sleep = 0), pixel-centered 240x240 cover UI, SW_LID hall sync, and shared Screen blank timeout on nokia-beatles - Pin verified a1111 (lennon) image hashes for both nokia-argon and nokia-beatles and synchronize docs and host tests
This commit is contained in:
1 parent
7a2b965ce3
commit
83c8db10f1
38 files changed
+1351
-276
No files matched your search
@@ -2,7 +2,11 @@
|
||||
# Get or set the unlocked idle screen-blank timeout (seconds).
|
||||
# Config menu -> "Screen blank" writes ~/.config/sxmo/idle_blank_timeout.
|
||||
# 0 disables blanking; dwm reloads the file on SIGUSR1.
|
||||
CFGDIR="${XDG_CONFIG_HOME:-${HOME:-/home/user}/.config}/sxmo"
|
||||
USER_HOME="${HOME:-/home/user}"
|
||||
if [ "$(id -u)" -eq 0 ] && [ "$USER_HOME" = "/root" ] && [ -d /home/user ]; then
|
||||
USER_HOME="/home/user"
|
||||
fi
|
||||
CFGDIR="${XDG_CONFIG_HOME:-$USER_HOME/.config}/sxmo"
|
||||
CFG="$CFGDIR/idle_blank_timeout"
|
||||
DEFAULT=300
|
||||
|
||||
@@ -33,6 +37,11 @@ notify_dwm() {
|
||||
[ -n "$p" ] && kill -USR1 "$p" 2>/dev/null || true
|
||||
}
|
||||
|
||||
notify_cover() {
|
||||
[ -x /usr/bin/bananarchy-coverctl ] && \
|
||||
/usr/bin/bananarchy-coverctl REFRESH >/dev/null 2>&1 || true
|
||||
}
|
||||
|
||||
case "${1:-get}" in
|
||||
get)
|
||||
get_secs
|
||||
@@ -50,7 +59,11 @@ case "${1:-get}" in
|
||||
[ "$v" -le 86400 ] || v=86400
|
||||
mkdir -p "$CFGDIR" 2>/dev/null || true
|
||||
printf '%s\n' "$v" > "$CFG" || exit 1
|
||||
if [ "$(id -u)" -eq 0 ] && [ "$USER_HOME" = "/home/user" ]; then
|
||||
chown user:user "$CFGDIR" "$CFG" 2>/dev/null || true
|
||||
fi
|
||||
notify_dwm
|
||||
notify_cover
|
||||
printf '%s\n' "$v"
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in new issue
Block a user