Bash profile now checks if IS_LAPTOP is set and launches i3 instead.
This commit is contained in:
parent
7ce14fea34
commit
9ae8541b92
@ -5,7 +5,10 @@
|
||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||
|
||||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||
XDG_CURRENT_DESKTOP=sway exec dbus-run-session sway
|
||||
if [[ ! -z "$IS_LAPTOP" ]]; then
|
||||
exec startx
|
||||
else
|
||||
exec start-sway.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user