dotfiles-arch/.zprofile
2023-11-27 13:03:12 -05:00

29 lines
603 B
Bash

# Setup locale
export LANG=en_US.UTF-8
export LC_COLLATE=C
# Neovim go brrrr
export EDITOR=nvim
# wayland fixes
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland-egl
export SDL_VIDEODRIVER=wayland
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=sway
export XDG_CONFIG_HOME=$HOME/.config
export MOZ_USE_XINPUT2=1
# ricing
export GTK_THEME=Lavanda-Sea-Dark
# Set terminal
export TERMINAL=alacritty
# start sway only once and on the primary tty
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec sway &> .log/sway
fi
exec fbterm