docs.rs failed to build displayz-1.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.
Visit the last successful build:
displayz-1.0.0
displayz
A CLI tool and library to control display settings on Windows written in Rust.
Installation
Chocolatey
Install displayz using Chocolatey on Windows:
Cargo
Install displayz using Cargo on Windows:
Usage
Commandline
After installation, the displayz command will be available.
Use the following command to access the help:
The following subcommands are available:
info: Displays information about all connected displays.set-primary --id <id>: Sets the display with the specified ID as the primary display.primary <properties>: Sets the primary display properties.properties --id <id> <properties>: Sets the display properties for the specified ID.
The <properties> argument can be multiple (but at least one and max one per kind) of:
--position <x>,<y>: Sets the position of the display.--resolution <width>x<height>: Sets the resolution of the display.--orientation <orientation>: Sets the orientation of the display.- Orientation can be either
Default,UpsideDown,RightorLeft.
- Orientation can be either
--fixedoutput <fixed output mode>: Sets the fixed output mode of the display.- The mode can be one of
Default,StretchorCenter.
- The mode can be one of
--frequency <frequency>: Sets the refresh rate of the display.
Rust Library
See the examples in the examples/ folder and the documentation on how to use the library.