From 56674cd0575bcebfab7f6039eba80bcf2848d0d9 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Tue, 5 Apr 2022 19:39:44 +0800 Subject: [PATCH] Set environment variable when running sway. --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_profile b/.bash_profile index 1352987..52944f7 100644 --- a/.bash_profile +++ b/.bash_profile @@ -5,7 +5,7 @@ [[ -f ~/.bashrc ]] && . ~/.bashrc if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then - #exec sway + XDG_CURRENT_DESKTOP=sway exec dbus-run-session sway exec startx fi