Skip to content

About

Portable Windows tray utility for stay-awake control, idle actions, task automation, day/night themes, and Explorer context menus | 便携 Windows 托盘工具:保持唤醒、空闲动作、自动任务、昼夜主题与右键增强

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

IdleTrigger

Lightweight, native Windows power automation in one portable EXE.

Keep work running, respond to real input inactivity,
and automate power or Windows themes by time and process.

Latest release Lint status MIT license Total downloads

Download x64 for 64-bit Windows Download x86 for 32-bit Windows

简体中文

Version requirement: Explorer context-menu enhancements, including multi-selection path copying and custom rules, require v2.6.0 or later.

🪟 Native Control Panel

Adapts to Windows light/dark mode and display DPI.
Native controls support keyboard navigation and preserve edits when display DPI changes.

IdleTrigger control panel in English light mode

More themes and languages
English dark Simplified Chinese light Simplified Chinese dark
IdleTrigger control panel in English dark mode IdleTrigger control panel in Simplified Chinese light mode IdleTrigger control panel in Simplified Chinese dark mode

Left-click the tray icon for quick controls, then open Settings for all persistent preferences.

See the screenshot gallery for the panel and context-menu manager in both languages and themes.

✨ At a Glance

Capability Built for
⚡ Stay Awake Downloads, renders, backups, and remote sessions that must keep running; timed presets expire automatically.
⏱️ Idle Actions Lock, sleep, hibernate, shut down, restart, or turn the display off after real keyboard and mouse inactivity.
🔁 Automatic Tasks Create tasks directly from the panel: process-based wakefulness, work hours, nightly shutdown, low-battery hibernation, or delayed shutdown/sleep. Review and save each template before it takes effect.
📂 Explorer Context Menu Copy the complete selection in six formats; manage custom rules with single-item, per-item, or batch execution in one window. Copy tools and rules share an IdleTrigger submenu by default. See the user guide.
🌗 Day / Night Switch Windows themes by time or sunrise and sunset, optionally link wallpaper and cursor schemes, snooze a pending switch, and adapt to battery and fullscreen.
🔄 Self-Update Optional check whenever the control panel is shown, plus on-demand checks from the tray menu and Settings that open the update prompt directly; one confirm downloads, SHA-256-verifies, installs, and restarts for you, with a link to the release notes.

Small by design: IdleTrigger is a portable native Win32 app for Windows 10 / Windows Server 2016 or later. It needs no installer, service, WebView, simulated input, or extra runtime. Settings stay in a readable TOML file beside the EXE.

System requirements: Windows 10 1607 / Server 2016 or later (x64 or x86). 1607 is the practical floor because per-monitor DPI APIs require it; the theme title-bar tint uses the modern DWM attribute on 20H1+ and falls back to the legacy one on 1809–1909.

🚀 Get Started

  1. Download x64 for most PCs, or x86 for 32-bit Windows.
  2. Put the EXE in a writable folder you intend to keep, then run it.
  3. Left-click the IdleTrigger tray icon and choose your settings.

📚 Documentation

Read this
📝 Configuration reference — every TOML field in English and Chinese
🗂️ Documentation index — usage, development, and releases

See the user guide for features and command-line usage, or the development guide to build and verify the app. Use pwsh -NoProfile -File build/build.ps1 for local builds and run dist/IdleTrigger-x64.exe; add -Architecture all for both architectures. target/ is the Cargo cache, not the normal run directory.

🤝 Credits

IdleTrigger uses the windows-rs, toml_edit, and serde crates; the tray icon and its native menu are implemented directly with Shell_NotifyIconW and TrackPopupMenu. The Go implementation's tray code was adapted from getlantern/systray v1.2.2 (Apache-2.0 notice preserved in the git history). Stay Awake was inspired by NoSleep. The Windows 11 theme-repair behavior is an independent implementation informed by Auto Dark Mode's DWM refresh strategy.

📄 License

MIT

About

Portable Windows tray utility for stay-awake control, idle actions, task automation, day/night themes, and Explorer context menus | 便携 Windows 托盘工具:保持唤醒、空闲动作、自动任务、昼夜主题与右键增强

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages