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

5 lines
90 B
Bash

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