summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2023-05-20 12:08:26 +0200
committerAdam Stück <adam@adast.dk>2023-05-20 12:08:26 +0200
commitd6c255349b0c30ab36cbe21448949b75f2089a31 (patch)
tree213218542d3c8cdd6455ac727ce23397821bbfc8 /.bash_profile
parent85ae49ad419e45a2998a1166c0fd276383c3c630 (diff)
bash_profile: add wayland support vars
Ensures firefox, thunderbird and QT applications run native wayland.
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile3
1 files changed, 3 insertions, 0 deletions
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'