mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
3ace97660f
* Added the better color averaging code (tested & functional) * rustfmt * Make Color f32 0..1, clarify premul/unpremul * Fix imports and test name * Premultiply gradient colors matching CSS * Fix indentation * fixup * Add gradient image --------- Co-authored-by: K's Thinkpad <K.T.Kraft@protonmail.com>
niri-visual-tests
Note
This is a development-only app, you shouldn't package it.
This app contains a number of hard-coded test scenarios for visual inspection. It uses the real niri layout and rendering code, but with mock windows instead of Wayland clients. The idea is to go through the test scenarios and check that everything looks right.
Running
You will need recent GTK and libadwaita.
Then, cargo run.