diff options
Diffstat (limited to '.zprofile')
| -rw-r--r-- | .zprofile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..689be61 --- /dev/null +++ b/.zprofile @@ -0,0 +1,29 @@ +# 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 |