Show/hide timer with hotkeys and days optional
beautiful customizable clock with plugins
Brought to you by:
nick-korotysh
Hi Nick, while having the timer visible all day is sometimes useful, most of the time it only ocupies screen space. It would be useful to show/hide it when needed so I'm thinking in a checkbox that controls the following behavior: disabled, the timer works as usual but if checked, everytime the timer is started (with the current hotkey) it will also show up. It will hide when the Ok button in the custom message is pressed or after a custom period of seconds passes. By the way, is it possible to remove the days if set to 0?
After that, it would be awesome to have ALL the current functionality of the Timer copypasted to the TimeTracker.
Hello, if I understood correctly, you want to hide timer when it inactive (not counting). this seems not so hard to add, I'll do it in a week. right now clock development (even new version) is not a priority for me, but this feature is easy to add, so it will appear soon.
What about days removal - set "minimum days to show" to '-1'. I can't remember how it works (I didn't look into code now) and why '-1' value has special meaning, but it does the trick.
TimeTracker plugin maybe not so functional... it was created in hour just on my friend request... I'm surprised that you found it useful. I can to add all functionality you requested for CountdownTimer plugin to it, but slightly later. TimeTracker code is not ready for such change due to its simplicity.
Yes, the idea is have the option to leave it visible from when it starts up to when the ending message is clicked ok. About the days not showing, it was a mistake, I meant the hours. And about the TimeTracker, it would be great if it had all the functionalities that the Timer has, because if you think about it, the Timer counts backwards, and the TimeTracker counts forward.
so, as promised, I uploaded new build (next version) with new option to hide inactive countdown timer. feel free to try.
but nothing has changed for timetracker plugin. right now I have not so much free time, I changed my job, and I have to learn a lot of new stuff, so personal projects have very low priority (maybe only simple things are an exception)
The way it works doesn't require addtional hotkeys, awesome, YOU ACED IT!
About the hours removal, what about following the same approach you used for the days (-1)?
About the TimeTracker, I wonder if just copying pasting the Timer could be the solution. I can think that the only difference would be that it would count on the opposite direction. It would have all similar feature as the Timer already has, like to have a configured time to stop, popup a message, sound, hide itself when unused, styles, etc.
Nevertheless, I also think that starting a new job is very demanding and more important. Hope you ace in your new job too! this ticket can wait to be solved later. I'm creating a reminder for myself in 2 months to check how is that going.
finally I added some common options from Countdown Timer to Timetracker plugin: hide inactive timer and hotkeys options.
I recently uploaded new build, feel free to try it!
Nice. However, the options shown in the image are missing and they are so useful. I would be great to have them with this timer too, at least as optional. And hoping that it won't add to much work, just reminding about the days (-1) to disable them from showing up so they don't occupy unnecessary space.

mentioned missing options are not included intentionally: timetracker plugin is just infinitely incrementing counter, it has no any limit and not designed to has them. other options were considered meaningful and useful, so were added. plugin was designed as simple work time tracker, and it must be started/stopped manually when only user considers it necessary, i.e. no any limits. think about it like a stopwatch (maybe I should rename it?).
on other hand, countdown timer exists to deal with limits/intervals. and thanks to you it became even more useful (especially with "auto-restart countdown" option).
what about '-1' to hide days, I still didn't look into its implementation, but I think this happened because '0' means "always show". the meaning of that field was next: "when remaining time is less than specified days count, days are not shown", initially it was created to not show thousands of hours until so far date (e.g. until New Year at the beginning of the year).
so I suggest just to add checkbox "hide days" (or "do not show days") to not confuse users with '-1' value. but '-1' still will be used internally, but it doesn't matter for users.
You know, there is a problem with me. I keep confusing days with hours 🤦Hours is what I would like to hide, hours hahaha.
Regarding the TimeTracker, I agree with you about the name Stopwatch. In any case, is it possible to have this thing I need? The thing that counts from 0 up to a defined time, just like the Countdown timer with all the same options, but counting up.
as suggestion, I can add an option to "Countdown timer" plugin to reverse counting (i.e. make it forward instead of backward), it is very easy to add. and all other stuff you want/need comes "out of the box", because "Countdown timer" already has it. even more, such option doesn't break plugin's purpose - it still counts time until specific point, and doesn't matter in which direction.
That would be great!
I added mentioned options and uploaded new build again.
Reverse counting works like a charm. However hidding the hours doesn't seem to work.
I uploaded new build again. Now I added an option to hide hours as you want. It is disabled (uncheckable) by default, to enable it, disable days setting threshold to -1 as was before.
Awesome, everything works! You aced it again Nick. Is your Bitcoin wallet still the same?
yes, it is still the same. I didn't change it
Sent, thanks Nick!