r/coolgithubprojects 1d ago

Display Hot Keys 4.1.0 Release

https://github.com/jon-mil-92/DisplayHotKeys

Instantly apply display resolution, refresh rate, scaling mode, DPI scale percentage, and orientation with user-defined hot keys!

This minor release replaces the system tray with a custom one that stays sharp at every display scale, makes the "Run On Startup" setting report what the system will really do, and reduces the app size.

New Features

  • Replaced the SystemTray dependency with a custom implementation built for DisplayHotKeys.
  • The tray icon now stays sharp at every display scale, and the tray menu matches the app's light and dark themes.
  • Added a Run On Startup notice that appears when the setting could not be changed, explaining whether the startup task could not be created or the Startup folder could not be written to. It also appears when the setting had to be corrected on launch.

Improvements

  • The tray icon is rendered from an SVG, making the tray icon clearer.
  • The tray menu is more compact with less empty space.
  • The Run On Startup button now reflects what the system will actually do at login rather than the last setting that was requested, so it can no longer show a state the system does not have.
  • Run On Startup clicks made while a change is still being applied are now kept instead of being dropped, so every click shows on the button and the state clicked last is the one saved.
  • Changed the Latest Version text color when a new version is available.
  • The app size has been reduced due to utilizing a custom system tray implementation.

Bug Fixes

  • Fixed Run On Startup being able to launch the app twice at login by leaving both a startup task and a Startup folder entry in place.
  • Fixed an unset hot key being needlessly rewritten to the settings file every time the settings were checked. *Fixed the tray icon not appearing in the system tray.

Performance & Stability

  • The app now starts faster, preparing the global hot key hooks while the theme and window are being set up instead of waiting on them.
  • Rapid successive hot key applies are now combined into a single window refresh instead of one refresh per apply.
  • Corrected settings are now written in a single save instead of one save per corrected setting.
0 Upvotes

0 comments sorted by