@muthuishere/windowctl
v0.5.0
Published
Cross-platform CLI for managing desktop windows and monitors (macOS, Linux, Windows).
Maintainers
Readme
windowctl (npm)
This is the npm package for windowctl, a cross-platform CLI for managing desktop windows and monitors.
Install
npx windowctl windows listnpm install -g windowctlThe package's postinstall step downloads the native binary for your
OS / arch from the matching GitHub release and unpacks it next to the
JS wrapper. If the install step fails, see
https://github.com/muthuishere/windowctl/releases for available
versions.
How it works
bin/windowctl.js— JS wrapper that locates and exec's the native binary, forwarding args, stdio, and exit code.scripts/install.js— postinstall that detectsprocess.platform/process.arch, downloadswindowctl_<version>_<os>_<arch>.tar.gzfrom the matching GitHub release, and extracts it into./native/.
The package itself is platform-agnostic; only the downloaded binary is platform-specific.
