Add wayland env vars to zprofile

This commit is contained in:
Pavle Portic 2024-02-03 10:19:34 +01:00
parent c2db08adeb
commit f7d3f1eed4
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ export QT_STYLE_OVERRIDE="kvantum"
export GTK_THEME="Breeze-Dark"
export VISUAL="nvim"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=sway
export VIRTUAL_ENV_DISABLE_PROMPT="true"
{{ range $_, $env := .zshrc.env_vars }}export {{ $env.name }}="{{ $env.value }}"
{{end}}

View File

@ -66,4 +66,4 @@ fi
# startx on tty1
[[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && exec startx -- vt1
# sway on tty2
[[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && exec sway --unsupported-gpu
[[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]] && exec sway