Change run command for sway on laptop.

This commit is contained in:
Sheldon Lee 2022-12-15 15:42:54 +00:00
parent 3bffa00e0a
commit 80ef114726

View File

@ -17,8 +17,7 @@ export _JAVA_AWT_WM_NONREPARENTING=1
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
if [[ ! -z "$IS_LAPTOP" ]]; then
WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 dbus-run-session sway
#dbus-run-session sway
WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 sway
else
exec start-sway.sh
fi