diff options
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,5 +2,6 @@ [[ -f ~/.config/zsh/.zshenv ]] && source ~/.config/zsh/.zshenv -#export DISPLAY=:0 -export DISPLAY=:$(echo $XDG_VTNR) +if [ "$XDG_SESSION_TYPE" = "x11" ]; then + export DISPLAY=:0 +fi |
