nix-config/zsh/.zprofile
2018-04-09 14:17:49 -04:00

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