mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
5 lines
128 B
Bash
5 lines
128 B
Bash
# Start Sway on login
|
|
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|
# Start Sway in the background
|
|
exec sway
|
|
fi
|