gentoo-dots/.config/zsh/.zprofile

16 lines
543 B
Bash
Executable File

export QT_QPA_PLATFORMTHEME=qt5ct
# Path export (.zshenv method doesn't work with gentoo for no real reason)
typeset -U PATH path
path=("$HOME/.local/bin" "$HOME/.local/share/go/bin" "$HOME/bin/dmenu" "$HOME/bin/misc" "$HOME/bin/statusbar" "$HOME/bin/tmux" "$path[@]")
export PATH
export SXHKD_SHELL='/bin/sh'
eval "$(ssh-agent -s)" &> /dev/null
if [[ -z $DISPLAY ]] && (( $EUID != 0 )) {
[[ ${TTY/tty} != $TTY ]] && (( ${TTY:8:1} == 1 )) &&
exec startx $HOME/.config/X11/xinitrc 1> ~/.local/share/logs/xsession-errors 2>&1
}