xbar-plugins icon indicating copy to clipboard operation
xbar-plugins copied to clipboard

001-rss.15m.php: open does not work

Open pietvanzoen opened this issue 1 year ago • 1 comments

fao @alesf -

Running in terminal, the open command on an rss item works fine. But when running in xbar it seems to fail. (Nothing happens).

https://github.com/matryer/xbar-plugins/blob/8ab7ceb1edf33d61a5a1452ced0c769dd096fa92/Web/rss.15m.php#L44

I'm not sure if there's a way to see the error being thrown in xbar. Seems like maybe a user permissions issue? Could totally be something to do with my setup. ¯_(ツ)_/¯

Any tips appreciated.

pietvanzoen avatar Aug 04 '22 18:08 pietvanzoen

xbar puts plugins in ~/Library/Application Support/xbar/plugins folder and it does not play nicely with spaces in the path. I tried to do a quick fix but nothing seems to be working so far.

Since PHP is not bundled with macOS anymore it would be better to write the plugin in bash or node anyway.

alesf avatar Aug 05 '22 10:08 alesf