Brutuski/tmux-ticker

Get value of ticker_stock_change to use for conditional style

rphuber opened this issue · 3 comments

I'd love to have a way to get the value of the change to find out if it's positive or negative so I could use the info to style the ticker price color. Is this possible currently? I have tried using #{?ticker_stock_price>0} but that doesn't seem to actually work. is there a variable that I can use to determine the change direction? Thanks for the great plugin

I figured out a way to do this. Is this something you would be interested in me adding to the package?

Thanks for the great plugin

Thank you so much for the kind words.

I figured out a way to do this. Is this something you would be interested in me adding to the package?

Sure thing man, go ahead and submit a PR. I will merge it asap.
If you can though, do post an image or 2 showing the functionality.

Let me know your thoughts on this approach.