eXpl0it3r / streamdeck-clockify

Clockify Action for the Elgato Stream Deck
MIT License
46 stars 8 forks source link

Add Title Format property to control how the title on the button is formatted #10

Closed HughMacdonald closed 1 year ago

HughMacdonald commented 1 year ago

This PR adds a new multi-line text property, Title Format, which contains details of how the title should be formatted on the button. It supports a number of different replacement values:

It defaults to:

{projectName}:
{taskName}
{timer}

which is the original default title (if the timer name is not set).

With this setup, it's impossible to replicate the previous behavour exactly, where if timerName was set, this would replace the title.

Resolves #9

HughMacdonald commented 1 year ago

Sounds good - will address all comments

HughMacdonald commented 1 year ago

Changed made. I didn't change the version of the plugin, as I didn't know how you like to deal with that

eXpl0it3r commented 1 year ago

Works like a charm! Thanks for putting this together. 🙂

I also really like the advanced features marking 👌