feat(x11): migrate to pure Xlibre + dwm/dmenu/st stack, fix fcitx5-t9 bottom bar, PM8909 PON shutdown, and remove Wayland

This commit is contained in:
Luxferre
2026-10-20 21:15:16 +03:00
parent ad012360c3
commit 7bab7b7a11
422 changed files with 63226 additions and 2342 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
# shellcheck source=scripts/core/sxmo_common.sh
. sxmo_common.sh
upower -m | while read -r line; do
# swallow first line ("Monitoring activity from the power daemon...")
if [ -z "$started" ]; then
started=1
continue
fi
line="${line#* }"
event="${line%%:*}"
object="${line#*:}"
object="${object#"${object%%[![:space:]]*}"}"
if [ -z "$object" ]; then
continue
fi
sxmo_hook_battery.sh "$object" "$event"
done