|
@@ -11,7 +11,10 @@ export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share"
|
|
|
# set language, editor, augment history behavior, enable dynamic resize
|
|
# set language, editor, augment history behavior, enable dynamic resize
|
|
|
export LANG=en_US.UTF-8
|
|
export LANG=en_US.UTF-8
|
|
|
export LANGUAGE=en_US.UTF-8
|
|
export LANGUAGE=en_US.UTF-8
|
|
|
-export EDITOR=vim
|
|
|
|
|
|
|
+#export TERM=alacritty
|
|
|
|
|
+export TerminalEmulator=alacritty
|
|
|
|
|
+export EDITOR=/usr/bin/vim
|
|
|
|
|
+export BROWSER=/usr/bin/brave
|
|
|
export HISTFILE="$HOME/.bash_history"
|
|
export HISTFILE="$HOME/.bash_history"
|
|
|
export HISTCONTROL=ignoreboth:erasedups
|
|
export HISTCONTROL=ignoreboth:erasedups
|
|
|
shopt -s histappend
|
|
shopt -s histappend
|
|
@@ -26,11 +29,22 @@ export XMODIFIERS=@im=fcitx
|
|
|
# specify wayland for applications (primarily games)
|
|
# specify wayland for applications (primarily games)
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
|
export SDL_VIDEODRIVER="wayland,x11"
|
|
export SDL_VIDEODRIVER="wayland,x11"
|
|
|
-export XDG_CURRENT_DESKTOP=Unity
|
|
|
|
|
|
|
+export QT_QPA_PLATFORM=wayland
|
|
|
|
|
+export XDG_CURRENT_DESKTOP=sway
|
|
|
export WINE_FULLSCREEN_FSR=1
|
|
export WINE_FULLSCREEN_FSR=1
|
|
|
export RADV_PERFTEST=gpl
|
|
export RADV_PERFTEST=gpl
|
|
|
export MANGOHUD_CONFIG="no_display,cpu_temp,gpu_temp"
|
|
export MANGOHUD_CONFIG="no_display,cpu_temp,gpu_temp"
|
|
|
export MANGOHUD=1
|
|
export MANGOHUD=1
|
|
|
|
|
+export _JAVA_AWT_WM_NONREPARENTING=1
|
|
|
|
|
+
|
|
|
|
|
+# vulkan patches
|
|
|
|
|
+export WLR_RENDERER=vulkan
|
|
|
|
|
+# @note: sometimes it may try to pick the wrong vulkan driver
|
|
|
|
|
+#export VK_DRIVER_FILES="/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json"
|
|
|
|
|
+# @note: machines with multiple valid gpu devices may require explicit overrides
|
|
|
|
|
+#export WLR_DRM_DEVICES="/dev/dri/card1:/dev/dri/card0"
|
|
|
|
|
+# @note: explicitly set device using `vulkaninfo` to get the vendorID and deviceID
|
|
|
|
|
+#export MESA_VK_DEVICE_SELECT="VID:DID"
|
|
|
|
|
|
|
|
# if bashrc exists and the terminal has stdin load it
|
|
# if bashrc exists and the terminal has stdin load it
|
|
|
test -t 0 && . "$HOME/.bashrc"
|
|
test -t 0 && . "$HOME/.bashrc"
|