Files
dotfiles/.bash_profile

20 lines
441 B
Bash
Raw Normal View History

2019-02-06 17:12:59 -08:00
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
2019-12-13 14:00:23 -08:00
# if [ -z "$DISPLAY" -a $XDG_VTNR -eq 1 ]; then
2019-02-06 17:12:59 -08:00
#date --iso-8601="seconds"
2019-12-13 14:00:23 -08:00
# exec startx -- -keeptty >> ~/.xorg.log 2>&1
# fi
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
2024-04-17 13:58:46 -04:00
exec sway
#exec sway -d 2> ~/sway.log
2019-02-06 17:12:59 -08:00
fi
2019-12-13 14:00:23 -08:00
# if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then
# XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
# fi