diff options
| author | Andrew <saintruler@gmail.com> | 2020-08-26 04:59:24 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2020-08-26 04:59:24 +0400 |
| commit | 70825f19ff5c8bd78780265ece1fc2c00a026f84 (patch) | |
| tree | ca06eb21b52147f7ba6751e106c8c3648232a3c0 /.profile | |
| parent | 75d736925fac9ab42c6015f2930a82c2eeee3235 (diff) | |
Changed icons in status bar scripts and added tmux to autostart in tty/terminal
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |