screen-flip-rs/README.md
2023-06-20 14:02:42 +02:00

11 lines
364 B
Markdown

# screen-flip-rs
Flips the screen for my hyprland config.
## How it works.
I have a variable in a config file for hyprland called `transform.conf` with a single line.
```
$transform=0
```
The script will get the number and switch it to 2, or if 2 to 0.
This file is then sourced at the top of my config and the variable can then be used for screen orientation.