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

yabai --stop-service issue #1247

Open
aspauldingcode opened this issue Dec 31, 2024 · 3 comments
Open

yabai --stop-service issue #1247

aspauldingcode opened this issue Dec 31, 2024 · 3 comments

Comments

@aspauldingcode
Copy link
Contributor

~ zsh  yabai --stop-service
yabai: service file '/Users/alex/Library/LaunchAgents/com.koekeishiya.yabai.plist' is not installed! abort..
~ zsh  cd /Users/alex/Library/LaunchAgents/
~/Library/LaunchAgents  zsh  ls
org.nix-community.home.xdg_cache_home.plist
org.nixos.sketchybar.plist
org.nixos.skhd.plist
org.nixos.yabai.plist

I want yabai --stop-service, yabai --start-service, yabai --restart-service commands to work properly when yabai is packaged with nix-darwin.

@Enzime
Copy link
Collaborator

Enzime commented Dec 31, 2024

I believe setting launchd.agents.<name>.serviceConfig.Label should change the filename

@aspauldingcode
Copy link
Contributor Author

I believe setting launchd.agents.<name>.serviceConfig.Label should change the filename

I think keeping the org.nixos.yabai daemon name should be fine.
I think a manual patching for renaming the yabai plist would be better. Because, naming will then be consistant with other nix darwin modules. And, yabai start service or stop service commands will point towards org.nixos.yabai plost instead of the normal one which is like com.kokeshka.yabai I think

@aspauldingcode
Copy link
Contributor Author

This would need to be done when packaging and before compiling yabai for nix darwin

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

2 participants