koekeishiya / skhd

Simple hotkey daemon for macOS
MIT License
5.87k stars 203 forks source link

Hotload of config file not working when symlinked #342

Open jacktho opened 4 months ago

jacktho commented 4 months ago

I use stow to manage my configs which manages symlinks of those configs.

This does not hotload on changes when the config is symlinked: skhd -c ~/.config/skhd/skhdrc

But pointing to the actual config does: skhd -c ~/.dotfiles/skhd/.config/skhd/skhdrc

Also, copying the config file into ~/.config/skhd/skhdrc works as well.

This is on an M3 running macOS 14.3.1.

dungle-scrubs commented 4 months ago

This seems to be the case for me as well.

alexandru0-dev commented 3 months ago

@koekeishiya This would be a great thing to be addressed as anyone using skhd with nix-darwin cannot hot reload as the config file is symlinked and also a lot of people using stow or symlinks to manage their config files.