aboutsummaryrefslogtreecommitdiff
path: root/files/rcs/.profile
diff options
context:
space:
mode:
Diffstat (limited to 'files/rcs/.profile')
-rw-r--r--files/rcs/.profile5
1 files changed, 3 insertions, 2 deletions
diff --git a/files/rcs/.profile b/files/rcs/.profile
index 4849a1c..dbda7ae 100644
--- a/files/rcs/.profile
+++ b/files/rcs/.profile
@@ -51,9 +51,10 @@ export XDG_CONFIG_HOME="$HOME/.config"
sudo loadkeys es
sudo -n loadkeys "$HOME/.config/ttymaps.kmap"
[[ $(tty) = "/dev/tty6" ]] && setfont alt-8x8
-echo ""
-neofetch --config ~/.config/neofetch/neofetchLogin.conf
if [ "$(tty)" = "/dev/tty1" ] && [ ! "$(pgrep -x i3)" ]; then
+ neofetch --config ~/.config/neofetch/neofetchLogin.conf
figlet "Starting i3-gaps..." | lolcat -a -d 1 -s 10 -p 1 -F 0.05
exec startx >~/.startx.log 2>~/.startxerr.log
+elif [ "$(tty | grep -e "/dev/tty.*")" ]; then
+ tmux new -s "$(tty | cut -d'/' -f3)"
fi