aboutsummaryrefslogtreecommitdiff
path: root/files/rcs
diff options
context:
space:
mode:
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