pass awesome in tty1

This commit is contained in:
vincent 2018-11-12 18:26:58 +01:00
parent 1b074a00b2
commit b62c47c4fb

View File

@ -3,8 +3,8 @@ if [ -d "$HOME/.local/bin" ]; then
fi fi
if [ -f "/bin/Xorg" ]; then if [ -f "/bin/Xorg" ]; then
[[ $(tty) == '/dev/tty1' ]] && startx ~/.xinitrc i3 [[ $(tty) == '/dev/tty1' ]] && startx ~/.xinitrc awesome
[[ $(tty) == '/dev/tty3' ]] && startx ~/.xinitrc awesome [[ $(tty) == '/dev/tty3' ]] && startx ~/.xinitrc i3
fi fi
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && [[ -z $XDG_SESSION_TYPE ]]; then if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && [[ -z $XDG_SESSION_TYPE ]]; then
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session