mcmonkeyprojects / KeyboardChatterBlocker

A handy quick tool for blocking mechanical keyboard chatter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to exit program

oabdulmatin opened this issue · comments

As far as I know the only way to close the Keyboard Chatter Blocker right now is to kill it through the Task Manager. Please add the ability to exit the program.

A few thoughts:
Repurpose close window button (X in topright) in program to exit Keyboard Chatter Blocker

  • Clicking the X icon displays a confirmation modal (Are you sure you want to exit? Yes/No)
  • With this change, it would probably make sense to also repurpose the minimize icon (-) to minimize the program to tray (currently functionality of the X button)

Add context menu option to tray icon to close program
image

The "Start In Tray" checkbox causes the close button to close the window but leave the program running in tray. To make it close entirely, just uncheck "Start In Tray", at which point pressing the close button will entirely stop the program.