From d6c255349b0c30ab36cbe21448949b75f2089a31 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Sat, 20 May 2023 12:08:26 +0200 Subject: bash_profile: add wayland support vars Ensures firefox, thunderbird and QT applications run native wayland. --- .bash_profile | 3 +++ 1 file changed, 3 insertions(+) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 804d837..0e73b9a 100644 --- a/.bash_profile +++ b/.bash_profile @@ -4,6 +4,7 @@ export XDG_DATA_HOME=$HOME/.local/share export XDG_STATE_HOME=$HOME/.local/state export XDG_DATA_DIRS="/usr/local/share:/usr/share" export XDG_CONFIG_DIRS="/etc/xdg" +export XDG_CURRENT_DESKTOP=sway export MAKEFLAGS="-j$(nproc)" export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority @@ -13,6 +14,7 @@ export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc export XCURSOR_PATH=/usr/share/icons:${XDG_DATA_HOME}/icons +export QT_QPA_PLATFORM=wayland export QT_QPA_PLATFORMTHEME=qt5ct export RANGER_LOAD_DEFAULT_RC=FALSE export CARGO_HOME=$XDG_DATA_HOME/cargo @@ -31,6 +33,7 @@ export CM_SELECTIONS=clipboard export CM_DIR=/tmp export PF_INFO="ascii title os kernel uptime pkgs memory" export VIMINIT='let $MYVIMRC = !has("nvim") ? "$XDG_CONFIG_HOME/vim/vimrc" : "$XDG_CONFIG_HOME/nvim/init.lua" | so $MYVIMRC' +export MOZ_ENABLE_WAYLAND=1 export LESS_TERMCAP_mb=$'\E[1;31m' export LESS_TERMCAP_md=$'\E[1;36m' -- cgit v1.2.3-70-g09d2