summaryrefslogtreecommitdiff
path: root/launchd/user_startx/startx.plist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launchd/user_startx/startx.plist.cpp')
-rw-r--r--launchd/user_startx/startx.plist.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/launchd/user_startx/startx.plist.cpp b/launchd/user_startx/startx.plist.cpp
new file mode 100644
index 0000000..a43025f
--- /dev/null
+++ b/launchd/user_startx/startx.plist.cpp
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>BUNDLE_ID_PREFIX.startx</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>__xinitrcdir__/launchd_startx</string>
+ <string>__bindir__/startx</string>
+#ifdef LAUNCHAGENT_XSERVER_PATH
+ <string>--</string>
+ <string>LAUNCHAGENT_XSERVER_PATH</string>
+#endif
+ </array>
+ <key>Sockets</key>
+ <dict>
+ <key>BUNDLE_ID_PREFIX:0</key>
+ <dict>
+ <key>SecureSocketWithKey</key>
+ <string>DISPLAY</string>
+ </dict>
+ </dict>
+ <key>ServiceIPC</key>
+ <true/>
+ <key>EnableTransactions</key>
+ <true/>
+</dict>
+</plist>