Add more logging during boot

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-08-02 11:21:26 +02:00
parent 98babda999
commit 495ff025eb
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
2 changed files with 3 additions and 3 deletions

View file

@ -31,4 +31,4 @@ fi
cat "${I3_SCREEN_CONFIG}" "${XDG_CONFIG_HOME}/i3/config.base" "${LOCAL_I3_CONFIG}" > "${XDG_CONFIG_HOME}/i3/config"
i3
i3 > "${XDG_LOG_HOME}/i3.log" 2>&1

View file

@ -27,10 +27,10 @@ crontab "${XDG_CONFIG_HOME}/cron/crontab"
# If we are on tty1 we start the x-server
if [ "$(tty)" = "/dev/tty1" ]; then
startx "${XDG_CONFIG_HOME}/X11/xinitrc" && exit
startx "${XDG_CONFIG_HOME}/X11/xinitrc" -- -keeptty > "${XDG_LOG_HOME}/xorg.log" 2>&1 && exit
fi
# If we are on tty2 we start the x-server using nvidia-xrun
if [ "$(tty)" = "/dev/tty2" ]; then
nvidia-xrun && exit
nvidia-xrun > "${XDG_LOG_HOME}/nvidia-xorg.log" 2>&1 && exit && exit
fi