nixos/homeConfig/dotfiles/bash/bash_profile
2023-04-12 18:51:23 -04:00

8 lines
147 B
Bash

# Start Sway on login
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
# Start Sway in the background
exec sway
fi
source ~/.bashrc