2023-04-30 17:36:12 +02:00
|
|
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
|
|
|
2024-01-08 16:14:19 +01:00
|
|
|
# Path export (.zshenv method doesn't work with gentoo for no real reason)
|
2023-04-30 17:36:12 +02:00
|
|
|
typeset -U PATH path
|
2024-01-08 16:14:25 +01:00
|
|
|
path=("$HOME/.local/bin" "$HOME/.local/share/go/bin" "$HOME/bin/dmenu" "$HOME/bin/misc" "$HOME/bin/statusbar" "$HOME/bin/tmux" "$path[@]")
|
2023-04-30 17:36:12 +02:00
|
|
|
export PATH
|
|
|
|
|
|
|
|
export SXHKD_SHELL='/bin/sh'
|
|
|
|
|
|
|
|
eval "$(ssh-agent -s)" &> /dev/null
|
2024-01-08 16:14:44 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|