Skip to content

FR: Accept timer-start requests via CLI Arguments (and communicate to already-running service if one exists) #1

@garrett-is-a-swann

Description

@garrett-is-a-swann

Story: User has a bunch of applications on their task bar, and it's generally more convenient (or habitual) to launch these apps in this manner. If a user could add "start xyz timer" action shortcuts to the task bar, then the user could use add these to their taskbar as well, rather than always having to open the TTK pane to launch the app.

Implementation: ttk.exe could take a cli arg --start-timer with arg1 being some identifier for a timer (either a new uuid, the process_name+display label... or some third thing (uniqueness requirement?). When launched in this manner, ttk.exe would:

  • if another ttk.exe IsRunning: signal to the running ttk.exe to start that timer, and defer/exit.
  • if another tkk.exe !IsRunning: startup + start that timer

Usage: User could create shortcuts like launch: "/path/to/ttk.exe --start-timer 'discord.exe - Quick Reply'", change the icon (edit the exe icon and add a lil' timer in the corner!), and pin to their task bar, alongside the default one

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions