about summary refs log blame commit diff
path: root/dotfiles/.bash_profile
blob: 441ce0285f88cba2d9fa2dd5de0e3bd981d1c8e9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                       
             
                                            



                                                  
                                   




                                            

               
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . "$HOME/.bashrc"

# Start River
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
    export SDL_VIDEODRIVER=wayland
    export QT_QPA_PLATFORM=wayland
    export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
    export MOZ_ENABLE_WAYLAND=1
    export LIBSEAT_BACKEND="logind"
    exec river
fi

# StartX
if [[ ! $DISPLAY && $XDG_VTNR -eq 2 ]]; then
    exec startx
fi