#windows #hot #corner #modifier #input #key #cursor

app hotcorners

A small hot corners implementation for Windows 10/11

5 releases

0.2.1 Oct 27, 2021
0.2.0 Oct 27, 2021
0.1.2 Oct 27, 2021
0.1.1 Oct 27, 2021
0.1.0 Oct 27, 2021

#6 in #hot

49 downloads per month

GPL-3.0-only

17KB
169 lines

A small hot corners implementation for Windows 10/11

Provides hot corner functionality for Windows 10/11, similar to GNOME.

Configuration is currently hard-coded. The following parameters can be modified prior to compilation:

  • HOT_CORNER - Coordinates of the hot corner, defaults to the top-left corner
  • HOT_CORNER_INPUT - The input sequence to be sent on activation, defaults to Win+Tab
  • HOT_DELAY - How long the cursor must stay within the hot corner to activate, in milliseconds, defaults to 100
  • EXIT_HOT_KEY - Base key for exiting the program, combined with EXIT_HOT_KEY_MODIFIERS, defaults to C
  • EXIT_HOT_KEY_MODIFIERS - Modifier key(s) for exiting the program, combined with EXIT_HOT_KEY, defaults to Alt+Ctrl

Inspired by https://github.com/taviso/hotcorner

Build and Install (PowerShell)

git clone https://github.com/timrobertsdev/hotcorners.git
cd hotcorners
cargo build
cp .\target\release\hotcorners.exe "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\"

Uninstall (PowerShell)

rm "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\hotcorners.exe"

Todo:

  • Tray icon
  • Multi-monitor support
  • Multiple hot corners support
  • Command-line flag support
  • Config file support
  • GitHub CI/Release support

Dependencies

~124MB
~2M SLoC