From 1fbdb6625c88f99688f4cd6e35ade7a93837ec7b Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 26 Aug 2023 21:11:20 +0200 Subject: 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. --- dotfiles/.bash_profile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'dotfiles/.bash_profile') 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 -- cgit 1.4.1