Skip to content

Watch repeat#126

Merged
benjaminoakes merged 6 commits intomaid:masterfrom
jurriaan:watch-repeat
Dec 4, 2014
Merged

Watch repeat#126
benjaminoakes merged 6 commits intomaid:masterfrom
jurriaan:watch-repeat

Conversation

@benjaminoakes
Copy link
Member

No description provided.

@jurriaan
Copy link
Contributor

Nice!

benjaminoakes added a commit that referenced this pull request Dec 4, 2014
@benjaminoakes benjaminoakes merged commit 30fe14b into maid:master Dec 4, 2014
@benjaminoakes
Copy link
Member Author

@jurriaan I've merged this, but I think it could be useful to have an example of how to start the daemon on login -- probably for Ubuntu and OSX. Have any input?

@jurriaan
Copy link
Contributor

jurriaan commented Dec 7, 2014

@benjaminoakes I'm a bit busy at the moment, but for OS X you can just create a launchctl daemon and place it in ~/Library/LaunchAgents, maybe we can provide a plist file that users can put in their LaunchAgents folder? I'm not sure how we make sure that it loads everything using the correct ruby version, you want it to run using your login shell I think.

I haven't used Ubuntu in a while, it depends on which Desktop Environment you're running of course, but it can be as simple as putting something in your xinitrc file..

@jurriaan
Copy link
Contributor

jurriaan commented Dec 8, 2014

Hmm, I broke a few things with this change.. Seems like Maid::Tools somehow isn't available in the watch/repeat blocks.

@jurriaan
Copy link
Contributor

jurriaan commented Jan 1, 2015

@benjaminoakes I've written a small article about starting maid on login on OS X: http://jurriaan.ninja/2015/01/01/maid-on-os-x.html

@benjaminoakes
Copy link
Member Author

Nice. It feels like we should include a Launch Agent with the project. In the meantime, I'll add a link to your post in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants