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
+31
View File
@@ -0,0 +1,31 @@
#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
. sxmo_common.sh
unalias dmenu 2>/dev/null || true
case "$1" in
"--show-over-lockscreen")
SHOW_OVER_LOCKSCREEN_FLAG=1
shift
;;
"isopen")
exec pidof -s dmenu >/dev/null
;;
"close")
pkill dmenu 2>/dev/null || true
exit 0
;;
esac
if [ -n "$SHOW_OVER_LOCKSCREEN_FLAG" ]; then
if pidof -s smlock >/dev/null; then
set -- "$@" -w smlock
fi
fi
lines="${SXMO_DMENU_PORTRAIT_LINES:-9}"
# shellcheck disable=SC2086
exec dmenu -i $SXMO_DMENU_OPTS -l "$lines" "$@"