Enhance build-upload script to temporarily move README files during build process and restore them afterward; add README for uconsole-rotate package.

This commit is contained in:
2025-08-08 21:08:48 -03:00
parent 18ddff2167
commit 1ce2ddddc4
4 changed files with 48 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# uconsole-rotate
Command-line helper to rotate the uConsole display on Wayland (sway/wayfire) using wlr-randr.
## Important
This rotation is not persisted across reboots. Re-run the command after login or add it to your session autostart if you want it applied automatically.
I use this to quickly rotate the display to play games in other orientations.
## Usage
```
uconsole-rotate [right|left|0|90|180|270]
```
- No argument: rotate 90° clockwise from current orientation
- right/left: rotate relative to current orientation
- 0/90/180/270: set rotation (device-specific mapping handled internally)
## Notes
- Automatically detects the DSI output
- Requires a Wayland session with `wlr-randr` available
- Exits with non-zero status if no DSI output is found or transform cannot be resolved