wayland work
This commit is contained in:
@@ -4,7 +4,15 @@
|
||||
|
||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||
|
||||
if [ -z "$DISPLAY" -a $XDG_VTNR -eq 1 ]; then
|
||||
# if [ -z "$DISPLAY" -a $XDG_VTNR -eq 1 ]; then
|
||||
#date --iso-8601="seconds"
|
||||
exec startx -- -keeptty >> ~/.xorg.log 2>&1
|
||||
# exec startx -- -keeptty >> ~/.xorg.log 2>&1
|
||||
# fi
|
||||
|
||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
XKB_DEFAULT_LAYOUT=us exec sway
|
||||
fi
|
||||
|
||||
# if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then
|
||||
# XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
|
||||
# fi
|
||||
|
||||
Reference in New Issue
Block a user