This release adds two new features
- The transform matrix, which allows mapping the accelerometer transforms (normal,left-up,bottom-up,right-up) to Niri's transforms.
- Verbosity
Transform
In some devices the accelerometer orientation doesn't match the display orientation.
This option allows you to provide the mapping from your accelerometer orientation to Niri's transform
It accepts a list of 4 (not more, not less) values. They map Niri's transform to their accelerometer counterparts.
Passing a value such as 90,normal,180,270 will provide the following accelerometer mapping:
- normal -> 90
- left-up -> normal
- bottom-up -> 180
- right-up -> 270
Possible values:
- normal: Untransformed
- 90: Rotated by 90°
- 180: Rotated by 180°
- 270: Rotated by 270°
- flipped: Flipped horizontally
- flipped-90: Rotated by 90° and flipped horizontally
- flipped-180: Flipped vertically
- flipped-270: Rotated by 270° and flipped horizontally
Verbosity
IIO-Niri is now logging what it does. By default only warnings are logged but you can increase the verbosity as such:
- show info:
-v/--verbose - show debug messages:
-vv/--verbose --verbose
It is also possible to silence warnings with -q / --quiet, then only errors will be reported.
Detailed changes
- feat: add option to support custom transforms
- feat: add support for verbose output, defaults to warnings
- docs: add AUR install instructions to README by @little72-cmd in #3
- build(niri-ipc): bump niri-ipc version to 25.11.0
- build(flake): update lock
New Contributors
- @little72-cmd made their first contribution in #3
Full Changelog: v1.2.1...v1.3.0