50 lines
1.7 KiB
Bash
Executable file
50 lines
1.7 KiB
Bash
Executable file
#!/bin/zsh
|
|
|
|
export LC_ALL=en_US.UTF-8
|
|
|
|
export XDG_DATA_HOME="$HOME/.local/share"
|
|
export XDG_CONFIG_HOME="$HOME/.config"
|
|
export XDG_STATE_HOME="$HOME/.local/state"
|
|
export XDG_CACHE_HOME="$HOME/.local/cache"
|
|
|
|
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
|
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
|
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
|
export MIX_HOME="$XDG_DATA_HOME/mix"
|
|
export ANDROID_USER_HOME="$XDG_DATA_HOME/android"
|
|
export DOTNET_CLI_HOME="$XDG_DATA_HOME/dotnet"
|
|
export FCEUX_HOME="$XDG_CONFIG_HOME/fceux"
|
|
export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle"
|
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
|
|
export XCURSOR_PATH="/usr/share/icons:$XDG_DATA_HOME/icons"
|
|
export JULIA_DEPOT_PATH="$XDG_DATA_HOME/julia:$JULIA_DEPOT_PATH"
|
|
export LEIN_HOME="$XDG_DATA_HOME/lein"
|
|
export NODE_REPL_HISTORY="$XDG_DATA_HOME/node_repl_history"
|
|
export W3M_DIR="$XDG_DATA_HOME/w3m"
|
|
export TEXMFVAR="$XDG_CACHE_HOME/texlive/texmf-var"
|
|
export SQLITE_HISTORY="$XDG_CACHE_HOME/sqlite_history"
|
|
export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME/bundle"
|
|
export BUNDLE_USER_CACHE="$XDG_CACHE_HOME/bundle"
|
|
export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME/bundle"
|
|
export NUGET_PACKAGES="$XDG_CACHE_HOME/NuGetPackages"
|
|
export WINEPREFIX="$XDG_DATA_HOME/wine"
|
|
|
|
export QT_QPA_PLATFORM=wayland-egl
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
export EDITOR=/bin/nvim
|
|
export VISUAL=/bin/nvim
|
|
export BROWSER=/bin/librewolf
|
|
export FILE=/bin/thunar
|
|
export PAGER=/bin/less
|
|
export TERMINAL=/bin/alacritty
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
export GTK_THEME=Adwaita-dark
|
|
export DEBUGINFOD_URLS="https://debuginfod.archlinux.org/"
|
|
|
|
export PATH="$PATH:/usr/lib/rustup/bin:$HOME/.local/scripts:$HOME/.local/bin:$HOME/.local/share/gem/ruby/3.0.0/bin/:$CARGO_HOME/bin"
|
|
|
|
if [ "$(tty)" = "/dev/tty1" ]; then
|
|
exec sway
|
|
fi
|
|
|