diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-03 13:38:38 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-03 13:38:38 -0500 |
commit | 11f3235c78526cff6a1f8a6d01e9e1ea87a3742e (patch) | |
tree | f0f34a11067629e6bae630fc44667561623dd0c7 /zsh/zprofile.base | |
parent | cf27361ebe6f8579ba6e4f431b3494d29679b1f4 (diff) | |
download | dotconfig-11f3235c78526cff6a1f8a6d01e9e1ea87a3742e.tar.xz dotconfig-11f3235c78526cff6a1f8a6d01e9e1ea87a3742e.zip |
changed zsh and x11 rc
Diffstat (limited to 'zsh/zprofile.base')
-rw-r--r-- | zsh/zprofile.base | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/zprofile.base b/zsh/zprofile.base index 56b7986..5250245 100644 --- a/zsh/zprofile.base +++ b/zsh/zprofile.base @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh # Path scriptspath="/home/timmy/.local/bin" @@ -36,4 +36,4 @@ export LESSHISTFILE="-" export QT_QPA_PLATFORMTHEME="qt5ct" # Autostart X after login -if [[ -z $DISPLAY ]] && [[ "$USER" != "root" ]] && [[ $(tty) = /dev/tty1 ]]; then startx $XDG_CONFIG_HOME/x11/xinitrc; fi +if [[ -z $DISPLAY ]] && [[ "$USER" != "root" ]] && ( [[ $(tty) = /dev/tty1 ]] || [[ $(tty) = /dev/ttyC0 ]] ); then startx $XDG_CONFIG_HOME/x11/xinitrc; fi |