Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖥️ Windows Hot Corners

A lightweight, native C# application that brings the productivity of macOS/Linux "Hot Corners" to Windows 10 and 11. Move your mouse cursor to any screen corner to trigger system actions instantly.

Download Latest Release

License Platform Runtime Downloads Release

📸 Overview

Tired of pressing Win+Tab? Just flick your mouse to the top-left corner.

This tool runs quietly in the system tray and monitors your mouse cursor position. When the cursor hits a screen corner, it executes a pre-configured action. It features a custom-built, modern UI that automatically adapts to your Windows System Theme (Dark/Light Mode).

📸 Screenshots

Application Interface Application Interface

✨ Key Features

  • 🎨 Theme-Aware UI: The settings window automatically detects and switches between Dark and Light modes based on your Windows personalization settings.
  • ⚡ Zero Latency: Built with native Win32 APIs (User32.dll, Dwmapi.dll) for instant trigger response.
  • 🎯 Corner-Specific Configurations: Set up completely independent custom apps or hotkeys for each of the four screen corners.
  • 🚀 Extensive Action Library:
    • Window Management: Task View (Win+Tab), Show Desktop, Minimize All Windows.
    • System Actions: Lock Screen, Action Center, File Explorer, Task Manager, Start Menu, Start Screen Saver.
    • Custom App Launcher: Run any .exe, script, or command.
    • Custom Hotkey Recorder: Bind complex keyboard shortcuts or media keys (Play/Pause, Volume Control) natively using the built-in low-level keyboard hook.
  • ⚙️ Fine-Tuning: Adjustable corner sensitivity (pixels), trigger delay (ms), and cooldown timer (ms) to prevent accidental triggers.
  • 👻 Unobtrusive: Minimizes to the System Tray and uses negligible system resources (< 10MB RAM).

🚀 Getting Started

Prerequisites

  • OS: Windows 10 or Windows 11.

Installation

  1. Download the latest WindowsHotCorners.exe from the Releases Page.
  2. Place the executable in a permanent folder (e.g., C:\Tools\HotCorners).
  3. Double-click to run.
  4. Configure your corners and check "Run at Windows Startup".
  5. Click Save & Minimize.

🛠️ Compilation (For Developers)

The project is designed as a Single-File Application for easy portability.

Build Requirements:

  • .NET SDK 10.0 or newer.

Build Command: Use the provided build_script.bat or run:

dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true

⚙️ Configuration

Configuration is stored in %LocalAppData%\HotCornersApp\config.json.

Supported Actions:

  • None

  • Trigger VirtualSpace Grid (Ctrl+Shift+Tab) Download VirtualSpace

  • Native Task View (Win+Tab)

  • Launch Custom App (Independent per corner)

  • Show Desktop (Win+D)

  • Lock Screen

  • Action Center (Win+A)

  • File Explorer (Win+E)

  • Minimize All Windows (Win+M)

  • Start Menu (Win)

  • Start Screen Saver

  • Task Manager (Ctrl+Shift+Esc)

  • Custom Hotkey (Independent per corner, supports modifiers & media keys)

⚠️ Disclaimer

This tool uses low-level keyboard hooks (WH_KEYBOARD_LL) for recording custom hotkeys and simulates keyboard input (keybd_event) to trigger actions. Ensure you do not have conflicting hotkey software running that might intercept these events.

📄 License

This project is licensed under the MIT License.


Created by @osmanonurkoc

About

A lightweight utility that brings the popular macOS and Linux 'Hot Corners' productivity feature to Windows.

Topics

Resources

Stars

32 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages