Set environment variable when running sway.

This commit is contained in:
Sheldon Lee 2022-04-05 19:39:44 +08:00
parent dfd2a1c9fd
commit 56674cd057

View File

@ -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