Only start X11 for virtual desktop 1

This commit is contained in:
Jean-Claude 2023-12-02 23:08:08 +01:00
parent 9caf018f26
commit c0a3bd7dcc
Signed by: jeanclaude
GPG Key ID: 8A300F57CBB9F63E
1 changed files with 3 additions and 1 deletions

View File

@ -1 +1,3 @@
startx "$HOME/.config/X11/xinitrc"
if [ "$XDG_VTNR" -eq 1 ]; then
exec startx "$HOME/.config/X11/xinitrc"
fi