diff options
Diffstat (limited to '')
-rw-r--r-- | dotfiles/.bash_profile | 11 |
1 files changed, 10 insertions, 1 deletions
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 |