internal/

directory
v1.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2026 License: MIT

Directories

Path Synopsis
Package app coordinates IdleTrigger's serialized runtime state and features.
Package app coordinates IdleTrigger's serialized runtime state and features.
Package automation defines the user-visible automatic-task model shared by configuration, runtime evaluation, and native UI.
Package automation defines the user-visible automatic-task model shared by configuration, runtime evaluation, and native UI.
Package cli implements the command-line interface for IdleTrigger.
Package cli implements the command-line interface for IdleTrigger.
Package config reads and writes IdleTrigger's TOML configuration file.
Package config reads and writes IdleTrigger's TOML configuration file.
Package devtools defines optional local developer-tool modes.
Package devtools defines optional local developer-tool modes.
inputtrace
Package inputtrace provides build-tagged keyboard and mouse diagnostics for local developer-tools builds.
Package inputtrace provides build-tagged keyboard and mouse diagnostics for local developer-tools builds.
feature
autorules
Package autorules evaluates built-in automatic tasks.
Package autorules evaluates built-in automatic tasks.
idle
Package idle tracks user idle time via the Win32 GetLastInputInfo API and fires callbacks when the configured threshold is approached and exceeded.
Package idle tracks user idle time via the Win32 GetLastInputInfo API and fires callbacks when the configured threshold is approached and exceeded.
keepawake
Package keepawake prevents Windows from automatically activating sleep mode or turning off the display via the Win32 SetThreadExecutionState API.
Package keepawake prevents Windows from automatically activating sleep mode or turning off the display via the Win32 SetThreadExecutionState API.
theme
Package theme auto-switches Windows between light and dark themes at scheduled times or sunrise/sunset via registry + WM_SETTINGCHANGE.
Package theme auto-switches Windows between light and dark themes at scheduled times or sunrise/sunset via registry + WM_SETTINGCHANGE.
Package i18n provides multi-language string lookups with automatic OS-language detection for zh-CN, falling back to English.
Package i18n provides multi-language string lookups with automatic OS-language detection for zh-CN, falling back to English.
Package logging provides lightweight file logging for debugging.
Package logging provides lightweight file logging for debugging.
platform
windows/autostart
Package autostart manages the Windows registry Run key so the user can enable or disable IdleTrigger auto-start on login.
Package autostart manages the Windows registry Run key so the user can enable or disable IdleTrigger auto-start on login.
windows/darkmode
Package darkmode enables dark-mode rendering for Win32 popup menus and controls on Windows 10 1809+.
Package darkmode enables dark-mode rendering for Win32 popup menus and controls on Windows 10 1809+.
windows/dialog
Package dialog shows simple message dialogs via MessageBoxW. (TaskDialog was tried for dark mode but the OS-level support is too version-sensitive to be reliable; kept simple intentionally.)
Package dialog shows simple message dialogs via MessageBoxW. (TaskDialog was tried for dark mode but the OS-level support is too version-sensitive to be reliable; kept simple intentionally.)
windows/dpi
Package dpi sets the process DPI awareness so that IdleTrigger renders crisply on high-DPI displays (4K, 150%+ scaling).
Package dpi sets the process DPI awareness so that IdleTrigger renders crisply on high-DPI displays (4K, 150%+ scaling).
windows/gdiplus
Package gdiplus provides the small anti-aliased vector primitive used by native owner-drawn controls.
Package gdiplus provides the small anti-aliased vector primitive used by native owner-drawn controls.
windows/hotkey
Package hotkey registers and dispatches IdleTrigger's global Windows hotkeys.
Package hotkey registers and dispatches IdleTrigger's global Windows hotkeys.
windows/ipc
Package ipc provides IdleTrigger's local Windows named-pipe command channel.
Package ipc provides IdleTrigger's local Windows named-pipe command channel.
windows/powerstate
Package powerstate reads Windows sleep capabilities and current battery state.
Package powerstate reads Windows sleep capabilities and current battery state.
windows/processcatalog
Package processcatalog reads the minimum metadata needed to present and match running applications.
Package processcatalog reads the minimum metadata needed to present and match running applications.
windows/resourceid
Package resourceid defines resource identifiers shared by the resource generator and runtime consumers.
Package resourceid defines resource identifiers shared by the resource generator and runtime consumers.
windows/singleinstance
Package singleinstance keeps one IdleTrigger process per Windows session.
Package singleinstance keeps one IdleTrigger process per Windows session.
windows/systemaction
Package systemaction implements Windows system power actions — sleep, hibernate, shutdown, restart, and lock — via direct Win32 API calls.
Package systemaction implements Windows system power actions — sleep, hibernate, shutdown, restart, and lock — via direct Win32 API calls.
ui
actionwarning
Package actionwarning displays an explicit, cancellable countdown for a scheduled system action.
Package actionwarning displays an explicit, cancellable countdown for a scheduled system action.
automationpanel
Package automationpanel implements the native automatic-task manager and editor.
Package automationpanel implements the native automatic-task manager and editor.
colors
Package colors supplies the shared semantic palette for native UI surfaces.
Package colors supplies the shared semantic palette for native UI surfaces.
controlpanel
Package controlpanel implements IdleTrigger's native Win32 control panel.
Package controlpanel implements IdleTrigger's native Win32 control panel.
font
Package font resolves the native Win32 UI font used by IdleTrigger.
Package font resolves the native Win32 UI font used by IdleTrigger.
idlewarning
Package idlewarning displays an in-app, non-activating idle warning.
Package idlewarning displays an in-app, non-activating idle warning.
nativeform
Package nativeform contains the small amount of Win32 theme plumbing shared by IdleTrigger's native form-style windows.
Package nativeform contains the small amount of Win32 theme plumbing shared by IdleTrigger's native form-style windows.
processpicker
Package processpicker implements the bounded native process-selection window used by automatic tasks.
Package processpicker implements the bounded native process-selection window used by automatic tasks.
trayicon
Package trayicon provides IdleTrigger's native Windows notification-area icon, menu, and UI event loop.
Package trayicon provides IdleTrigger's native Windows notification-area icon, menu, and UI event loop.
wintest
Package wintest contains Win32 integration-test helpers.
Package wintest contains Win32 integration-test helpers.
Package version exposes the build version injected by release builds.
Package version exposes the build version injected by release builds.
Package wallclock resolves local scheduled times across time-zone changes.
Package wallclock resolves local scheduled times across time-zone changes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL