mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
distro-files: startwm script
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
X &
|
||||
while [ 1 ]
|
||||
do
|
||||
if [ -S /tmp/.X11-unix/X0 ]
|
||||
then
|
||||
break
|
||||
fi
|
||||
|
||||
if [ $SECONDS -gt 15 ]
|
||||
then
|
||||
echo timeout
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sleep 0.5
|
||||
done
|
||||
stty -echo -echoctl
|
||||
xterm -e "bash -l" &
|
||||
exec fvwm3
|
||||
Reference in New Issue
Block a user