aboutsummaryrefslogtreecommitdiff
path: root/files/rcs
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-12-02 17:50:37 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-12-02 17:50:37 +0100
commit54835a472f09615457b6fcbf093af497c5c714ec (patch)
treea77d4c615761e2099fc0b712d2ec437bd09356a1 /files/rcs
parentf36d39b22be288fe29fe9708fe9607937c85c093 (diff)
downloadconfigs-54835a472f09615457b6fcbf093af497c5c714ec.tar.gz
configs-54835a472f09615457b6fcbf093af497c5c714ec.zip
Removed strange startx logs.
Diffstat (limited to 'files/rcs')
-rw-r--r--files/rcs/.profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/rcs/.profile b/files/rcs/.profile
index 3857f68..1556ce0 100644
--- a/files/rcs/.profile
+++ b/files/rcs/.profile
@@ -24,17 +24,17 @@ 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 >"$CONFIG_FOLDER_LOGS/startx.log" 2>"$CONFIG_FOLDER_LOGS/startxerr.log"
+ exec startx
elif [ "$(tty)" = "/dev/tty3" ] && ! pgrep -x xfce4-session; then
echo ""
cat "$HOME/.xinitrcxfce4" > "$HOME/.xinitrc"
neofetch --config "$XDG_CONFIG_HOME/neofetch/neofetchLogin.conf"
- exec startx >"$CONFIG_FOLDER_LOGS/startx.log" 2>"$CONFIG_FOLDER_LOGS/startxerr.log"
+ exec startx
elif [ "$(tty)" = "/dev/tty4" ] && ! pgrep -x gnome-session; then
echo ""
cat "$HOME/.xinitrcgnome" > "$HOME/.xinitrc"
neofetch --config "$XDG_CONFIG_HOME/neofetch/neofetchLogin.conf"
- exec startx >"$CONFIG_FOLDER_LOGS/startx.log" 2>"$CONFIG_FOLDER_LOGS/startxerr.log"
+ exec startx
elif tty | grep -q '/dev/tty.*' ; then
tmux new -s "$(tty | cut -d'/' -f3)"
fi