Add nvidia-xrun configuration

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-03-18 16:05:54 +01:00
parent 7f8c6c9ccd
commit 79de524ab1
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
8 changed files with 40 additions and 10 deletions

View file

@ -29,3 +29,8 @@ crontab "${XDG_CONFIG_HOME}/cron/crontab"
if [ "$(tty)" = "/dev/tty1" ]; then
startx "${XDG_CONFIG_HOME}/X11/xinitrc" && exit
fi
# If we are on tty2 we start the x-server using nvidia-xrun
if [ "$(tty)" = "/dev/tty2" ]; then
nvidia-xrun && exit
fi