distro-files: better startwm handling

This commit is contained in:
Matheus
2024-09-05 19:15:28 -03:00
parent 6ef3609789
commit 515a4689a6
2 changed files with 9 additions and 2 deletions
+5
View File
@@ -7,3 +7,8 @@ PS1="$GREEN\u$NORMAL@$BLUE\h$NORMAL:$WHITE\w$NORMAL>"
alias ls="ls --color=auto"
alias grep="grep --color=auto"
if [ $(tty) == "/dev/console" ]
then
alias startwm="exec /usr/libexec/astral/startwm"
fi
@@ -16,6 +16,8 @@ do
sleep 0.5
done
stty -echo -echoctl -isig
stty -echo -echoctl -isig -icanon min 0 time 0
xterm -e "bash -l" & &> /tmp/.xtermstderr > /tmp/.xtermstdout
exec fvwm3 &> /tmp/.fvwm3stderr > /tmp/.fvwm3stdout
fvwm3 &> /tmp/.fvwm3stderr > /tmp/.fvwm3stdout
stty -echo -echoctl -isig -icanon min 0 time 0
cat -