Files
bananarchy/overlay/rootfs/etc/init.d/bananarchy-volume-keys
T
Luxferre 83c8db10f1 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
2026-11-11 14:20:42 +02:00

23 lines
476 B
Plaintext
Executable File

#!/sbin/openrc-run
# Direct evdev handling for the 2720 Flip side volume rocker.
description="Bananarchy side volume keys"
command="/usr/bin/bananarchy-volume-keys"
command_background=true
pidfile="/run/bananarchy-volume-keys.pid"
depend() {
need udev
after udev-settle
}
start() {
if [ "$(cat /usr/share/bananarchy/lid-profile 2>/dev/null)" != "flip" ]; then
ebegin "Skipping side volume keys (not a flip device)"
eend 0
return 0
fi
default_start
}