Files
dotfiles/.zprofile

18 lines
497 B
Bash

export PATH=~/.local/bin:~/.cargo/bin:$PATH
export EDITOR=nvim
export SUDO_EDITOR=/usr/bin/nvim
export XDG_CURRENT_DESKTOP=Sway
export XDG_SESSION_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
export HOMEBREW_NO_AUTO_UPDATE=true
export ELECTRON_OZONE_PLATFORM_HINT=auto
if command -v dbus-update-activation-environment >/dev/null; then
dbus-update-activation-environment XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE
fi
if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then
exec sway
fi