A lightweight extension for the native macOS Dock that adds Windows-style window previews.
No custom dock, no replacement — WinDock hooks into your existing Dock and enhances it.
macOS 14.0+ · Signed & Notarized · Free & Open Source
Hover over any dock icon to see live thumbnails of its open windows.
- Native Dock extension — Works directly with the macOS Dock, not a replacement
- Dock hover previews — Live window thumbnails appear above dock icons
- Click to focus — Click any preview to bring that specific window to front
- Aero Peek — Hover a preview card to see the window at its actual screen position
- Close from preview — Close windows directly from the preview panel
- Launch at login — Starts automatically and runs silently in the background
WinDock uses ~23 MB of memory and 0% CPU when idle. No Electron, no web views — pure Swift and AppKit.
WinDock doesn't replace or redraw the Dock. It listens to the native macOS Dock process via the Accessibility API (AXObserver), detects which icon you're hovering, and shows a floating preview panel above it. Thumbnails are captured live using ScreenCaptureKit.
- macOS 14.0 or later
- Accessibility permission — Required to detect dock hover events
- Screen Recording permission — Required to capture window thumbnails
- Download the latest release from Releases
- Move
WinDock.appto/Applications - Launch WinDock
- Grant Accessibility and Screen Recording permissions when prompted
git clone https://github.com/akinalpfidan/windock.git
cd windock
open windock.xcodeprojBuild and run with Xcode. Disable App Sandbox in Signing & Capabilities (required for Accessibility API access).
windock/
Services/
DockObserver — AXObserver on macOS Dock process
WindowManager — AXUIElement window focus & close
WindowCaptureService — ScreenCaptureKit thumbnails
ViewModels/
DockViewModel — Coordinates hover, preview, and peek
Views/
Preview/
PreviewPanel — Floating NSPanel (non-activating)
WindowPreviewList — SwiftUI preview cards
WindowHighlightOverlay — Aero Peek overlay
Models/
DockModels — WindowInfo, DockApp




