2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-04 16:16:26 +00:00

Correct launching of GUI in genesis

This commit is contained in:
Jarrod Johnson
2025-03-04 16:11:28 -05:00
parent 02ec40092e
commit f458c15677

View File

@@ -8,7 +8,8 @@ if [ -x /usr/bin/seatd-launch -a -x /usr/bin/sway ]; then
export XDG_RUNTIME_DIR=/run/users/0
mkdir -p $XDG_RUNTIME_DIR
sed -i '/^output /d' /etc/sway/config
echo 'exec foot -t XTERM -T Terminal tmux a' > /etc/sway/config.d/genesis
echo 'exec foot -t xterm -T Terminal tmux a' > /etc/sway/config.d/genesis
(while :; do seatd-launch sway <> /dev/tty1 >& /dev/null; done) &
else
(while :; do TERM=linux tmux a <> /dev/tty1 >&0 2>&1; done) &
fi