pass awesome in tty1
This commit is contained in:
parent
1b074a00b2
commit
b62c47c4fb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user