| Crates.io | displayz |
| lib.rs | displayz |
| version | 0.2.0 |
| created_at | 2022-06-09 16:50:40.283698+00 |
| updated_at | 2025-03-06 07:37:43.158811+00 |
| description | A CLI tool and library to control display settings on Windows written in Rust. |
| homepage | https://github.com/michidk/displayz |
| repository | https://github.com/michidk/displayz |
| max_upload_size | |
| id | 602728 |
| size | 56,425 |
A CLI tool and library to control display settings on Windows written in Rust.
Install displayz using Chocolatey on Windows:
choco install displayz
Install displayz using Cargo on Windows:
cargo install displayz
After installation, the displayz command will be available.
Use the following command to access the help:
displayz --help
The following subcommands are available:
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.
Default, UpsideDown, Right or Left.--fixedoutput <fixed output mode>: Sets the fixed output mode of the display.
Default, Stretch or Center.--frequency <frequency>: Sets the refresh rate of the display.See the examples in the examples/ folder and the documentation on how to use the library.