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
View File
@@ -59,17 +59,13 @@ setup_tz() {
ln -s "$zonepath" "${ROOT}"etc/localtime
printf "%s\n" "$zone" > "${ROOT}"etc/timezone 2>/dev/null || true
if [ -z "$ROOT" ] || [ "$ROOT" = "/" ]; then
rm -f /tmp/sxmo_conky_time_state
if pidof -s Xorg >/dev/null 2>&1; then
su -s /bin/sh user -c '
export PATH="/home/user/.config/sxmo/hooks:/usr/share/sxmo/default_hooks:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin"
export DISPLAY=:0
export XDG_RUNTIME_DIR="/run/user/10000"
export XDG_CONFIG_HOME="/home/user/.config"
sxmo_hook_statusbar.sh time >/dev/null 2>&1 || {
pkill -9 -x conky >/dev/null 2>&1 || true
DISPLAY=:0 CONKY_DPY=:0 conky -c /home/user/.config/sxmo/conky.conf -d >/dev/null 2>&1 </dev/null || true
}
sxmo_hook_statusbar.sh time >/dev/null 2>&1 || true
' >/dev/null 2>&1 || true
fi
fi