mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-29 03:34:46 +01:00
8 lines
259 B
Bash
8 lines
259 B
Bash
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
# Copyright (C) 2017-2018 Donovan Glover
|
|
|
|
# Automatically start X server on login (tty1)
|
|
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
|
exec startx
|
|
fi
|