]> git.immae.eu Git - perso/Immae/Config/dotdrop.git/blobdiff - dotfiles/shell_bash/bash_profile
Fix logs redirection fo startx
[perso/Immae/Config/dotdrop.git] / dotfiles / shell_bash / bash_profile
index 4de837bc8a1ff68e47267bd4995bd465610292b9..26c40b453ba06e8e3a232711092af8f1ac8bafb6 100644 (file)
@@ -4,6 +4,6 @@
 
 {%@@ if "graphical_vt" in features.get(profile, []) @@%}
 if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
-  exec startx $XDG_CONFIG_HOME/xinitrc
+  exec startx $XDG_CONFIG_HOME/xinitrc > $XDG_STATE_HOME/xsession_errors 2>&1
 fi
 {%@@ endif @@%}