Set environment variable when running sway.
This commit is contained in:
parent
dfd2a1c9fd
commit
56674cd057
@ -5,7 +5,7 @@
|
|||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
|
||||||
#exec sway
|
XDG_CURRENT_DESKTOP=sway exec dbus-run-session sway
|
||||||
exec startx
|
exec startx
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user