Add more logging during boot
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
98babda999
commit
495ff025eb
2 changed files with 3 additions and 3 deletions
|
@ -31,4 +31,4 @@ fi
|
||||||
|
|
||||||
cat "${I3_SCREEN_CONFIG}" "${XDG_CONFIG_HOME}/i3/config.base" "${LOCAL_I3_CONFIG}" > "${XDG_CONFIG_HOME}/i3/config"
|
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
|
|
@ -27,10 +27,10 @@ crontab "${XDG_CONFIG_HOME}/cron/crontab"
|
||||||
|
|
||||||
# If we are on tty1 we start the x-server
|
# If we are on tty1 we start the x-server
|
||||||
if [ "$(tty)" = "/dev/tty1" ]; then
|
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
|
fi
|
||||||
|
|
||||||
# If we are on tty2 we start the x-server using nvidia-xrun
|
# If we are on tty2 we start the x-server using nvidia-xrun
|
||||||
if [ "$(tty)" = "/dev/tty2" ]; then
|
if [ "$(tty)" = "/dev/tty2" ]; then
|
||||||
nvidia-xrun && exit
|
nvidia-xrun > "${XDG_LOG_HOME}/nvidia-xorg.log" 2>&1 && exit && exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue