about summary refs log tree commit diff
path: root/dotfiles/.bash_profile
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2023-08-26 21:11:20 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2023-08-26 21:15:19 +0200
commit1fbdb6625c88f99688f4cd6e35ade7a93837ec7b (patch)
tree3103ed0b9ab22939bf962fe37f497317dd145609 /dotfiles/.bash_profile
parentUpdate (diff)
downloadnixos-config-1fbdb6625c88f99688f4cd6e35ade7a93837ec7b.tar.gz
nixos-config-1fbdb6625c88f99688f4cd6e35ade7a93837ec7b.tar.bz2
nixos-config-1fbdb6625c88f99688f4cd6e35ade7a93837ec7b.zip
Hosts: Start switch from river to sway wm
Sadly, river doesn't get many updates and wayland kind of requires
constant updates to the client.
Diffstat (limited to 'dotfiles/.bash_profile')
-rw-r--r--dotfiles/.bash_profile11
1 files changed, 9 insertions, 2 deletions
diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile
index 28c4efa..e43c2ff 100644
--- a/dotfiles/.bash_profile
+++ b/dotfiles/.bash_profile
@@ -3,15 +3,22 @@
 
 [[ -f ~/.bashrc ]] && . "$HOME/.bashrc"
 
-# Start River
+# Start Wayland*
 if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
+    #export LIBVA_DRIVER_NAME=nvidia
+    #export XDG_SESSION_TYPE=wayland
+    #export XDG_CURRENT_DESKTOP=sway
+    #export GBM_BACKEND=nvidia-drm
+    #export __GLX_VENDOR_LIBRARY_NAME=nvidia
+    #export WLR_NO_HARDWARE_CURSORS=1
+    #export GDK_BACKEND=nvidia
     export SDL_VIDEODRIVER=wayland
     export QT_QPA_PLATFORM=wayland
     export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
     export MOZ_ENABLE_WAYLAND=1
     export LIBSEAT_BACKEND="logind"
     export NIXOS_OZONE_WL=1
-    exec dbus-run-session river
+    exec dbus-run-session sway --unsupported-gpu
 fi
 
 # StartX