Open joshstrange opened 3 years ago
Hey @joshstrange - you're right, BitBar let you pick the folder, in xbar it's static. Is it possible to do what you were doing with the xbar plugin folder being static?
@matryer Absolutely, I have it working just like I want now using the symlink method from above. I was just suggesting it be added back in as GUI option to change it. It works for now but I wasn't sure if it might break in future versions or if there was some kind of issue that symlinking the folder could cause. The other option would be to symlink in my scripts (opposed to replacing the whole plugins folder) which might be more "friendly" if xbar wants to fully "own" that folder but for now I'm symlinking the whole folder and it's doing exactly what I need it to to do.
@joshstrange That makes sense. Tbh, xbar tries not to be very opinionated when it comes to the executables etc. which is why tricks like the one you've found works. Let me know how you get on with it, if it doesn't quite work out, I'm happy to consider adding a simple "Change plugin folder" option to xbar, like BitBar had. Thanks again.
Maybe we should just add this to the xbar config file?
cc #748 reported by @kudumi
+1 I would very much like to option to set plugin folder location
Until this feature arrives I'll be using symlinks. I'm also using Dropbox for synchronization. When I switch computers I don't have to copy paste the updated shell file.
# Go to xbar plugin folder
cd /Users/USER_NAME/Library/Application\ Support/xbar/plugins
# Link your shell file in Dropbox to xbar's plugin folder
ln -s /Users/USER_NAME/Dropbox/apps/xbar/SHELL_FILE.365d.sh
This is closed as completed, but does not appear to be addressed.
@matryer Could you please reopen the issue?
I'd also like to set the folder myself easily from the UI. For me a better default is always a hidden folder in my home.
@pvegh @martin-braun @varikin does anyone fancy contributing a PR for this?
With BitBar I had a repo of all my plugins nested inside a folder (so I could install dependencies up 1 level) but with xbar there is no option to change the folder. I "solved" this by removing the plugin folder created by xbar and symlinking in my old folder. It would be nice to do this via the GUI in a "supported" way. Thank you!
Temp Fix: