From 2c634e9ab08a5a34e407b5ad94e4cd4ee47f8a40 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Tue, 20 Jun 2023 14:02:42 +0200 Subject: [PATCH] Added short README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9779550..8817bcb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # 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.