about summary refs log tree commit diff
path: root/dotfiles/.bash_profile
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-11 17:40:08 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-14 22:20:52 +0200
commit004d54e9fe6880edabcf18cb0ae7c9a86bb28e85 (patch)
tree133e4748410224ffe2f0db4016a36da633a073dd /dotfiles/.bash_profile
parentXlock: Respect dpms off screen (diff)
downloadnixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.tar.gz
nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.tar.bz2
nixos-config-004d54e9fe6880edabcf18cb0ae7c9a86bb28e85.zip
Implement initial wayland support
Diffstat (limited to '')
-rw-r--r--dotfiles/.bash_profile11
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