summaryrefslogtreecommitdiff
path: root/etc/startx
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-06-22 13:18:02 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-06-22 13:18:02 +0200
commitb862fe83d4f900400a0a78149c7ac9819ffc249c (patch)
treed68ab18b29cb6af39ee0b14abbe55c0af781b6ce /etc/startx
parentf0837efc5edd3516be0881552a96eb26d2d4b26e (diff)
Moved the startx script into a dedicated file
Diffstat (limited to 'etc/startx')
-rw-r--r--etc/startx6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/startx b/etc/startx
new file mode 100644
index 0000000..751bd71
--- /dev/null
+++ b/etc/startx
@@ -0,0 +1,6 @@
+## vim:ft=zsh
+if [[ -z $SSH_CONNECTION && ! -e /tmp/.x-started ]] {
+ touch /tmp/.afterboot
+ unsetopt bg_nice
+ startx &! exit
+}