Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Installation via brew? #44

Open
mayurankv opened this issue Jan 6, 2025 · 4 comments
Open

FR: Installation via brew? #44

mayurankv opened this issue Jan 6, 2025 · 4 comments

Comments

@mayurankv
Copy link

Would it be possible to have installation via homebrew? i.e. brew install kanata-tray?

@rszyma
Copy link
Owner

rszyma commented Jan 6, 2025

I'm not planning to package for homebrew, I don't have any macos devices so I wouldn't be able to test brew recipe (or whatever it's called) anyway.

But if anyone else is interested in doing so, obviously feel free to do it. Same thing for other package managers.

The only package manager I'm willing to package for is nix, we already have flake with devshell with all deps sorted out, so it should be pretty straightforward to add build step, I hope.

@mayurankv
Copy link
Author

Great I'll have a try at doing this myself as a brew service! Thanks for the heads up!

@CampAsAChamp
Copy link

CampAsAChamp commented Feb 12, 2025

Hey 👋 just wanted to check to see if any progress has been made on this?

@mayurankv
Copy link
Author

It's not trivial simply because kanata relies on karabiner running and having been activated. It's not trivial to set up such a cask properly as a result as you'd not only need the dependency but to ensure it doesn't run and but also so that the daemons run in the background. I'm not super familiar with this kind of task so I gave up and just went with a local plist that works for me but might not elsewhere. Also I think I had issues with environment variables but I can't recall. If you want to have a go look at the formula documentation but it's harder than I expected.

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

No branches or pull requests

3 participants