Fix lid wake blanking, passcode lag, idle drain, zero-log privacy default, and replace Conky with native dwm clock

This commit is contained in:
Luxferre committed 2026-11-05 08:07:10 +02:00
1 parent 11ec778c2f
commit 1d71bc81d8
42 files changed
+732 -267

No files matched your search

@@ -1,5 +1,8 @@
[logging]
level=ERR
level=OFF
[connection]
wifi.powersave=3
[connectivity]
enabled=false
@@ -0,0 +1,2 @@
[connectivity]
enabled=false
+1 -1
View File
@@ -1,4 +1,4 @@
# /etc/conf.d/modemmanager: config file for modemmanager
# Enable quick suspend/resume hooks with minimal logging to save power
modemmanager_opts="--test-quick-suspend-resume --log-level=ERR"
modemmanager_opts="--test-quick-suspend-resume --log-level=ERR --log-file=/dev/null"
@@ -13,7 +13,7 @@ fi
{ echo 6000 > /proc/sys/vm/dirty_writeback_centisecs; } 2>/dev/null || true
{ echo 6000 > /proc/sys/vm/dirty_expire_centisecs; } 2>/dev/null || true
{ echo 0 > /proc/sys/kernel/nmi_watchdog; } 2>/dev/null || true
{ echo "1 4 1 4" > /proc/sys/kernel/printk; } 2>/dev/null || true
{ echo "1 4 1 1" > /proc/sys/kernel/printk; } 2>/dev/null || true
{ echo Y > /sys/module/workqueue/parameters/power_efficient; } 2>/dev/null || true
{ echo Y > /sys/module/printk/parameters/console_suspend; } 2>/dev/null || true
@@ -107,12 +107,6 @@ if [ -z "$SXMO_NO_MODEM" ] && command -v ModemManager > /dev/null; then
sxmo_wakelock.sh lock sxmo_modem_warming_up 120s
fi
# Start the desktop widget (e.g. clock)
pidof -s conky >/dev/null 2>&1 || DISPLAY=:0 CONKY_DPY=:0 conky -c /home/user/.config/sxmo/conky.conf -d >/dev/null 2>&1 </dev/null || true
if [ -f /tmp/bananarchy_screen_locked ]; then
pkill -STOP -x conky 2>/dev/null || true
fi
# It watch network changes and update the status bar icon by example
superctl start sxmo_networkmonitor