dotfiles/.config/shell/rc.d/autostartx.sh

6 lines
90 B
Bash

#!/bin/sh
if [ ! "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
exec startx ~/.xinitrc
fi