From 70825f19ff5c8bd78780265ece1fc2c00a026f84 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 26 Aug 2020 04:59:24 +0400 Subject: Changed icons in status bar scripts and added tmux to autostart in tty/terminal --- .profile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.profile') diff --git a/.profile b/.profile index 3defda2..2860b35 100644 --- a/.profile +++ b/.profile @@ -69,6 +69,8 @@ export GNUPGHOME="$XDG_DATA_HOME/gnupg" export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" # Autostarting window manager -if [ "$AUTOSTART" = "1" ] && [ -z "$DISPLAY" ] && [ ! -z "$DISPLAY_SESSION" ]; then - [ "$(tty)" = "/dev/tty1" ] && ! pidof Xorg >/dev/null 2>&1 && exec startx +if [ "$(tty)" = "/dev/tty1" ] && [ "$AUTOSTART" = "1" ] && [ -z "$DISPLAY" ] && [ ! -z "$DISPLAY_SESSION" ]; then + ! pidof Xorg >/dev/null 2>&1 && exec startx +elif [ -z "$TMUX" ]; then + exec tmux fi -- cgit v1.2.3