summarylogtreecommitdiffstats
path: root/xserverrc
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-10 23:41:40 -0600
committerBrian Bidulock2015-06-10 23:41:40 -0600
commit69d16600d311a752bc77033c0c83753b7f36e9e3 (patch)
treed12f7397d2b3b443599c81037077e7c27853c857 /xserverrc
downloadaur-69d16600d311a752bc77033c0c83753b7f36e9e3.tar.gz
initial version
Diffstat (limited to 'xserverrc')
-rw-r--r--xserverrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/xserverrc b/xserverrc
new file mode 100644
index 00000000000..6b57eeba6da
--- /dev/null
+++ b/xserverrc
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ -z "$XDG_VTNR" ]; then
+ exec /usr/bin/X -nolisten tcp "$@"
+else
+ exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
+fi