KeyboardCowboy icon indicating copy to clipboard operation
KeyboardCowboy copied to clipboard

Symbolic link to config.json is replaced with file when config changes

Open k-obrien opened this issue 4 months ago • 1 comments

macOS Sequoia 15.6 Keyboard Cowboy 3.27.3 (2471)

Context

I use stow to manage my dotfiles which replaces .config/keyboardcowboy/config.json with a symlink to the actual config file in my dotfiles directory, which is kept under version control.

Expected

Changing the Keyboard Cowboy config updates the file stored in my dotfiles directory and leaves the symlink at .config/keyboardcowboy/config.json intact.

Actual

The symlink at .config/keyboardcowboy/config.json is overwritten with the actual config.json file.

k-obrien avatar Aug 20 '25 00:08 k-obrien

Hey @k-obrien, thanks a bunch for pointing this out! I'll see if I can quickly sort this out and get it into the next version. I think we just need to fix the potential symlink before setting up the storage path.

zenangst avatar Aug 20 '25 07:08 zenangst