diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-11 17:40:08 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-09-14 22:20:52 +0200 |
commit | 004d54e9fe6880edabcf18cb0ae7c9a86bb28e85 (patch) | |
tree | 133e4748410224ffe2f0db4016a36da633a073dd /dotfiles/.bash_profile | |
parent | Xlock: Respect dpms off screen (diff) | |
download | nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.tar.gz nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.tar.bz2 nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.zip |
Implement initial wayland support
Diffstat (limited to 'dotfiles/.bash_profile')
-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 |