45 lines
1.0 KiB
Bash
45 lines
1.0 KiB
Bash
# qt5ct
|
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
export QT_AUTO_SCREEN_SCALE_FACTOR=1
|
|
|
|
# waybar
|
|
export XDG_CURRENT_DESKTOP=Unity
|
|
|
|
# gtk
|
|
export GTK_THEME=Materia:dark
|
|
|
|
# ibus
|
|
export GTK_IM_MODULE=ibus
|
|
export XMODIFIERS=@im=ibus
|
|
export QT_IM_MODULE=ibus
|
|
|
|
# set neovim as default editor
|
|
export VISUAL=nvim
|
|
export EDITOR=nvim
|
|
|
|
# dotnet
|
|
export MSBuildSDKsPath="/usr/share/dotnet/sdk/`dotnet --version`/Sdks/"
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
export PATH="/home/default/.dotnet/tools:$PATH"
|
|
|
|
# git
|
|
export GIT_DISCOVERY_ACROSS_FILESYSTEM=true
|
|
|
|
## sway on nvidia
|
|
export WLR_NO_HARDWARE_CURSORS=1
|
|
# General wayland environment variables
|
|
export XDG_SESSION_TYPE=wayland
|
|
export QT_QPA_PLATFORM=wayland
|
|
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
|
# Firefox wayland environment variable
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
export MOZ_USE_XINPUT2=1
|
|
# OpenGL Variables
|
|
export GBM_BACKEND=nvidia-drm
|
|
export __GL_GSYNC_ALLOWED=0
|
|
export __GL_VRR_ALLOWED=0
|
|
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
|
# hardware acceleration
|
|
export VDPAU_DRIVER=nvidia
|
|
export LIBVA_DRIVER_NAME=vdpau
|