ZenDesktop: Desktop Icon Toggle and Auto-Hide
Native C++ Windhawk mod to hide/show desktop icons by double-clicking, with optional inactivity-based auto-hide and restore.
Author: Lanbo
Have you ever wanted a clean, clutter-free desktop but found it annoying to right-click -> View -> Show desktop icons every time?
ZenDesktop brings the ultimate native solution to Windows. It allows you to double-click empty space on your desktop to instantly hide or show your icons, and optionally automatically hide icons after a configurable period of system inactivity.
🌟 Key Features:
- Zero UI Overhead: Embedded natively inside
explorer.exe process space. No background EXE running, no taskbar/tray icons, 0% CPU and virtually 0MB extra RAM.
- Process-Native Hit-Testing: When you double-click, it performs a real-time ListView hit-test. If you double-click a file, folder, or shortcut, the default "open" action is triggered normally. If you double-click empty space, it toggles your desktop icons.
- System-Wide Inactivity Detection: Uses
GetLastInputInfo() to track ALL user input (keyboard, mouse anywhere on screen) — icons only auto-hide when you are truly idle, not just away from the desktop.
- Smart Auto-Restore: When icons are auto-hidden, any user input (mouse or keyboard anywhere) instantly restores them. Manually hidden icons are never auto-restored.
- Dynamic Hooking: Automatically subclasses the shell views, meaning even if your Explorer crashes, restarts, or you plug/unplug monitors, the mod remains fully active and stable.
- Completely Safe: Uses native Windows
0x7402 (WM_COMMAND) toggle signals, ensuring Windows handles the fade animations and desktop state natively without breaking icon grid arrangements.
This mod focuses on desktop icons. If you want a similar inactivity effect for the taskbar, see the Taskbar Fade mod.