summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2018-10-28 10:33:09 +0100
committerPatrick Simianer <pks@pks.rocks>2018-10-28 10:33:09 +0100
commit9d68dd98555bdb3a69eccf9c6a5d986922e8692a (patch)
tree62eab3fcc1e741775b5f1e5c9124fb23ffa007af /zsh
parentdb942546e2b3e1c24026a0f2617cbbd6dc7f6fad (diff)
zsh: vlock
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zlogin1
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh/.zlogin b/zsh/.zlogin
index 74561c3..b9e6d7f 100644
--- a/zsh/.zlogin
+++ b/zsh/.zlogin
@@ -2,6 +2,7 @@ if [[ $(uname) == "Linux" ]]; then
if [[ -z $DISPLAY ]] && (( $EUID != 0 )) {
[[ ${TTY/tty} != $TTY ]] && (( ${TTY:8:1} <= 3 )) &&
startx 1>/tmp/xsession-errors 2>&1 &
+ vlock
}
fi