Browse files

Add plist for automatic start on login

  • Loading branch information...
ljos committed Mar 20, 2013
1 parent 6bed69b commit 0dd87bc9acf7b348ad2276487e652762a6c04551
Showing with 23 additions and 0 deletions.
  1. +7 −0
  2. +16 −0 com.github.gurgeh.selfspy.plist
@@ -73,6 +73,13 @@ Unless you use the --no-text flag, selfspy will store everything you type in two
Normally you would like Selfspy to start automatically when you launch X. How to do this depends on your system, but it will normally mean editing *~/.xinitrc* or *~/.xsession*. If you run KDE, *~/.kde/Autostart*, is a good place to put startup scripts. When run, Selfspy will immediately spawn a daemon and exit.
+#### Running on login in OS X
+If you want selfspy to start automatically on login you need to copy the [com.github.gurgeh.selfspy.plist](
+file to `~/Library/LaunchAgents/` or run
+curl > ~/Library/LaunchAgents/com.github.selfspy.plist
### Example Statistics
*"OK, so now all this data will be stored, but what can I use it for?"*
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
+ "">
+<plist version="1.0">
+ <dict>
+ <key>Label</key>
+ <string>com.github.gurgeh.selfspy</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/usr/local/bin/python</string>
+ <string>/usr/local/share/python/selfspy</string>
+ </array>
+ <key>RunAtLoad</key>
+ <true/>
+ </dict>

0 comments on commit 0dd87bc

Please sign in to comment.