docs.rs failed to build windows-troll-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
windows-troll
A modular Rust library (and CLI) of harmless Windows "troll" pranks. Each prank is a self-contained module behind its own Cargo feature flag, so you can build exactly the ones you want.
Windows only.
Modules
| Feature | Module | What it does |
|---|---|---|
window-hider |
modules::window_hider |
Minimize (hide) and restore windows |
mouse-teleporter |
modules::mouse_teleporter |
Move the mouse to chosen or random positions |
window-wobbler |
modules::window_wobbler |
Smoothly sway a window in place (direction + amplitude) |
window-party |
modules::window_party |
Scramble your screen into an animated grid party |
Building
# everything (all default features)
# just one module
CLI usage
# Root help
# Window hider
# Mouse teleporter
# Window wobbler
# Window party (screen scramble)
Run any subcommand with --help for its full options. window-party supports
LEFT/RIGHT to switch animations, Space to pause, and Esc to end early
(disable with --no-interactive).
Using as a library
use ;
wobble_foreground_window;
Architecture
src/
├── lib.rs # crate root; exports `desktop` and `modules`
├── desktop.rs # shared window enumeration (WindowInfo, list_windows)
├── main.rs # CLI entry: builds the root Command from the registry
├── cli/
│ ├── mod.rs # CliModule trait + all() registry
│ └── modules/ # per-module CLI implementations (one per module)
└── modules/ # the library modules themselves (clap-free)
└── window_hider/
├── mod.rs
├── mouse_teleporter/...
├── window_wobbler/...
└── window_party/
├── mod.rs
├── capture.rs # screen capture (BitBlt)
├── grid.rs # grid tile easing
└── animations.rs # 18 animation styles