From 9f17e55782f1a4f851756d214be9c5fcfa96ecb0 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Sat, 8 Oct 2022 23:26:01 +0100 Subject: [PATCH] Launch sway with some environment variables. --- .bash_profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 724a2d4..f3724cc 100644 --- a/.bash_profile +++ b/.bash_profile @@ -17,7 +17,8 @@ export _JAVA_AWT_WM_NONREPARENTING=1 if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; 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 exec start-sway.sh fi