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

Add hot reload workaround for skhd service #929

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexandru0-dev
Copy link

Workaround for #333, until koekeishiya/skhd#342 is solved.

Changes:

  • Forces reload of skhd's config at postActivation

the logname pkg should be present in macos by default, tho I used pkgs.coreutils to ensure immutability (if for any reason the machine doesn't have the pkg etc).

More info here: #333 (comment)

Question about when the service changes:

I didn't check if the config is empty as someone can go from a config to an empty one.
But at that point also the service in launchd changes.

  • What is the behavior of the service in this case?
  • Should I still force the reload of the config or is not needed?

Forces reload of the config at postActivation as upstream doesn't
suppport hot reloading for symlinks yet
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.

None yet

1 participant