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:
Executable
+29
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
# Copyright 2022 Sxmo Contributors
|
||||
# shellcheck disable=SC2086
|
||||
|
||||
SXMO_TERMINAL="${SXMO_TERMINAL:-st}"
|
||||
|
||||
if [ -z "$*" ]; then
|
||||
set -- ${SHELL:-/bin/sh}
|
||||
fi
|
||||
|
||||
if [ -z "$TERMNAME" ]; then
|
||||
TERMNAME="$*"
|
||||
fi
|
||||
|
||||
case "$SXMO_TERMINAL" in
|
||||
"st"*)
|
||||
set -- $SXMO_TERMINAL -T "$TERMNAME" -e "$@"
|
||||
;;
|
||||
*)
|
||||
set -- st -T "$TERMNAME" -e "$@"
|
||||
;;
|
||||
esac
|
||||
|
||||
exec 4<&0
|
||||
exec 5>&1
|
||||
exec 6>&2
|
||||
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user