Launch sway with some environment variables.
This commit is contained in:
parent
0da6feaf0a
commit
9f17e55782
@ -17,7 +17,8 @@ export _JAVA_AWT_WM_NONREPARENTING=1
|
|||||||
|
|
||||||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
if [[ ! -z "$IS_LAPTOP" ]]; then
|
if [[ ! -z "$IS_LAPTOP" ]]; then
|
||||||
exec dbus-run-session sway
|
WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 dbus-run-session sway
|
||||||
|
#dbus-run-session sway
|
||||||
else
|
else
|
||||||
exec start-sway.sh
|
exec start-sway.sh
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user