From 004d54e9fe6880edabcf18cb0ae7c9a86bb28e85 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 11 Sep 2022 17:40:08 +0200 Subject: Implement initial wayland support --- dotfiles/.bash_profile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'dotfiles/.bash_profile') diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile index 0dc5034..9857c11 100644 --- a/dotfiles/.bash_profile +++ b/dotfiles/.bash_profile @@ -3,7 +3,16 @@ [[ -f ~/.bashrc ]] && . "$HOME/.bashrc" -# StartX +if [[ "$XDG_SESSION_TYPE" == "wayland" ]]; then + export MOZ_ENABLE_WAYLAND=1 +fi + +# Start River if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec river +fi + +# StartX +if [[ ! $DISPLAY && $XDG_VTNR -eq 2 ]]; then exec startx fi -- cgit 1.4.1