corner-calculator-0.1.1 has been yanked.
Corner Calculator
Overview
Corner Calculator is a command-line utility written in Rust, designed to calculate new x and y coordinates based on a direction key (1-9 keypad style) and screen and window dimensions. It can be useful for window management scripts where you need to position windows in different corners or sides of the screen.
Features
- Calculate new coordinates based on screen and window dimensions.
- Supports keypad-style direction input (1-9).
- Implementations for multiple numeric types (u16, u32, i16, i32).
Requirements
- Rust programming environment.
Installation
Clone the repository and build the project using Cargo:
Usage
To use Corner Calculator, run the executable with the following arguments:
|||||
Example:
License
This project is licensed under the MIT License - see the LICENSE file for details.
Credits
README kindly provided by ChatGPT. ;)