Skip to content

Jeffrey0117/whereismywindow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Where Is My Window

πŸͺŸ Where Is My Window?

Never lose track of your focused window on multi-monitor setups

License: MIT Rust Windows

Download β€’ Features β€’ Usage


😫 The Problem

You have 2-3 monitors. A dozen windows open. You start typing and...

Wait, which window has focus?

You Alt-Tab, something pops up on the wrong screen. You click, but the cursor was on a different monitor. Sound familiar?

✨ The Solution

Where Is My Window highlights the active window with a colored border and shows which monitor is active.

πŸ”΅ Blue Border
Follows your focused window in real-time
πŸ”’ Monitor Badges
Numbered labels show active monitor
⚑ Zero Impact
~0% CPU, <10MB RAM

🎯 Features

  • Smart Border - Solid or Glow style, click-through
  • Monitor Badges - Active monitor highlighted in blue
  • Flash on Switch - Optional screen edge flash when switching monitors
  • Hotkey Reveal - Ctrl+Shift+F shows monitor layout
  • System Tray - Lives in tray, no window clutter
  • Lightweight - Pure Rust + Win32 APIs, no Electron bloat

πŸš€ Installation

Download

Grab the .exe from Releases

Build from Source

git clone https://github.com/Jeffrey0117/whereismywindow.git
cd whereismywindow
cargo build --release

Run target\release\whereismywindow.exe


πŸ“– Usage

The app runs in the system tray. Right-click the tray icon for options:

Option Description
Border: ON/OFF Toggle focus border
Style: Solid/Glow Switch border style
Flash: ON/OFF Flash screen on monitor switch
Indicator: ON/OFF Toggle monitor badges
Quit Exit app

Keyboard Shortcut

  • Ctrl+Shift+F - Show monitor layout info

πŸ› οΈ How It Works

Built with Rust + Direct2D + Win32 APIs:

  • Focus Tracking - Windows event hooks detect active window changes
  • Overlay Rendering - Transparent topmost window with color-key transparency
  • Real-time Updates - Border follows window position/size changes instantly

No framework, no runtime, no bloat. Just pure system integration.


πŸ’‘ Why This Exists

Multi-monitor setups are amazing until you lose track of focus. This app solves that with zero learning curve:

βœ… Glance at screen β†’ See blue border β†’ Know where you are βœ… No config files, no settings to learn βœ… Just works


βš™οΈ Requirements

  • Windows 10 or 11
  • Multiple monitors (works on single monitor too, but kinda pointless)

πŸ—ΊοΈ Roadmap

  • Customizable border colors
  • Per-app border rules (e.g., red for terminal, green for browser)
  • Auto-start on boot option
  • Portable mode (no installer)

🀝 Contributing

PRs welcome! Keep it simple and lightweight.


πŸ“„ License

MIT License - Use it, fork it, modify it.


If this saved you from typing in the wrong window, give it a ⭐!

Made with πŸ’œ by Jeffrey0117

About

πŸͺŸ Never lose track of your focused window on multi-monitor setups. Lightweight Rust app with colored borders and monitor badges.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages