aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-12-28 19:38:23 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-12-28 19:38:23 +0100
commit83413609a6d13b46db10c08aadbb6e9fd5114a7b (patch)
treef066edf7bddac9e192d06dd90d0e59dae6fec10d
parent5c564ae73646cc444a4322256a434fac7e75d004 (diff)
downloadconfigs-83413609a6d13b46db10c08aadbb6e9fd5114a7b.tar.gz
configs-83413609a6d13b46db10c08aadbb6e9fd5114a7b.zip
startx output back to a log file instead of screen.
-rw-r--r--files/rcs/.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/rcs/.profile b/files/rcs/.profile
index 1556ce0..259dfdc 100644
--- a/files/rcs/.profile
+++ b/files/rcs/.profile
@@ -24,7 +24,7 @@ if [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3; then
cat "$HOME/.xinitrci3" > "$HOME/.xinitrc"
neofetch --config "$XDG_CONFIG_HOME/neofetch/neofetchLogin.conf"
#figlet "Starting i3-gaps..." | lolcat -a -d 1 -s 10 -p 1 -F 0.05
- exec startx
+ exec startx >"$CONFIG_FOLDER_LOGS/startx.log" 2>"$CONFIG_FOLDER_LOGS/startx.err"
elif [ "$(tty)" = "/dev/tty3" ] && ! pgrep -x xfce4-session; then
echo ""
cat "$HOME/.xinitrcxfce4" > "$HOME/.xinitrc"