diff options
author | Patrick Simianer <p@simianer.de> | 2016-12-06 21:09:01 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-12-06 21:09:01 +0100 |
commit | ee0d022f828dbc61b2f5a484d0e0ba5e6330488e (patch) | |
tree | bf702b9197bf8e9d5c54927d540e82e889384905 /zsh | |
parent | ca395cd6c0cfd58dddf8e368e5f0ec78807f5029 (diff) |
zsh: start X
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zlogin | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zsh/.zlogin b/zsh/.zlogin new file mode 100644 index 0000000..a6fa972 --- /dev/null +++ b/zsh/.zlogin @@ -0,0 +1,5 @@ +if [[ -z $DISPLAY ]] && (( $EUID != 0 )) { + [[ ${TTY/tty} != $TTY ]] && (( ${TTY:8:1} <= 3 )) && + startx 1>/tmp/xsession-errors 2>&1 & +} + |