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

Can't handle ~/.hammerspoon being a symlink #3706

Open
Jasha10 opened this issue Oct 20, 2024 · 5 comments
Open

Can't handle ~/.hammerspoon being a symlink #3706

Jasha10 opened this issue Oct 20, 2024 · 5 comments

Comments

@Jasha10
Copy link

Jasha10 commented Oct 20, 2024

I have my config files set up like this:

 'ls' -l .hammerspoon
lrwxr-xr-x@ 1 jasha  staff  21 Oct 20 15:34 .hammerspoon -> stow/all/.hammerspoon

The ~/.hammerspoon file is a symlink pointing to a directory where I keep my spoons and init.lua.

With this setup I'm getting an error message:

Can't find ~/.hammerspoon/init.lua; create it and reload your config.
@latenitefilms
Copy link
Contributor

Rather than doing a sym-link, you're probably better off just changing the default path:

defaults write org.hammerspoon.Hammerspoon MJConfigFile "~/.config/hammerspoon/init.lua"

@latenitefilms
Copy link
Contributor

Related: #3103

@jasha-hrp
Copy link

How would I update the default path for the Spoons directory?
I wanted to use my Spoons directory as a symlink too.

@jasha-hrp
Copy link

jasha-hrp commented Nov 16, 2024

Is there a way to set the path to the Spoons directory using something similar to the MJConfigFile variable?

Edit: I've created an issue:

@QuantumLibet
Copy link

just for completeness sake: A symlink to the Spoons directory works just fine.

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

4 participants