| Age | Commit message (Collapse) | Author |
|
This reverts commit ed799f5afcf6a3dc805def75d0824ecc24de4f32.
|
|
This way we don't skip the layout animation tests.
|
|
|
|
* flake: skip tests that require a valid EGL display
Otherwise:
niri> failures:
niri>
niri> ---- tests::animations::clientside_height_change_doesnt_animate stdout ----
niri>
niri> thread 'tests::animations::clientside_height_change_doesnt_animate' panicked at src/tests/animations.rs:87:54:
niri> called `Result::unwrap()` on an `Err` value: error creating EGL display
niri>
niri> Caused by:
niri> Unable to obtain a valid EGL Display.
niri> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
niri>
niri> ---- tests::animations::height_resize_animates_next_y stdout ----
niri>
niri> thread 'tests::animations::height_resize_animates_next_y' panicked at src/tests/animations.rs:87:54:
niri> called `Result::unwrap()` on an `Err` value: error creating EGL display
niri>
niri> Caused by:
niri> Unable to obtain a valid EGL Display.
niri>
niri>
niri> failures:
niri> tests::animations::clientside_height_change_doesnt_animate
niri> tests::animations::height_resize_animates_next_y
niri>
niri> test result: FAILED. 147 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.45s
* flake: skip all animations tests, present and future
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
* fixup: typo
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
|
|
Co-authored-by: sodiboo <git@sodi.boo>
|
|
|
|
* Add nushell completion support
Adds `clap_complete_nushell` crate and implements it into the `niri
completions` command.
* Add nushell to flake.nix autocompletions
* Convert to `TryFrom`
* Fix linting errors
* Move types down
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
|
|
fixes #1312
like
https://github.com/sodiboo/niri-flake/commit/0d54ea3f208f785b29f8396996b6bc8596d11a45
|
|
|
|
This was suggested by @sodiboo in
https://github.com/YaLTeR/niri/issues/894#issuecomment-2562153840 and
was copied from https://github.com/sodiboo/niri-flake/commit/350e6b68c70f5002a75e10521f5e66ace4b5eed1i
Signed-off-by: Maximilian Huber <gh@maxhbr.de>
|
|
|
|
|
|
|
|
this also improves the application of overlays to be more uniform; what
was previously done was just Wrong
|
|
|
|
This allows `niri-visual-tests` to still be built and run in the dev
shell where it's necessary, as well as brings back the nightly `rustfmt`
used by the project
We can't use `fenix` again though as it doesn't wrap `ld` like nixpkgs
and rust-overlay do; without it, the way we link `dlopen()`'d libraries
breaks
|
|
Some highlights include:
- Removing some unnecessary dependencies of the package itself
- Allowing for overriding the package
- Adding Cargo feature toggles
- Installing all niri-related resources
- Avoiding `LD_LIBRARY_PATH` hacks
|
|
Previously, inputs like Crane and Fenix were used to only build the
`niri` package. This isn't really required, and can easily be replaced
by nixpkgs' `rustPlatform` -- which will also lead to less dependencies
being pulled into user's lockfiles
|
|
|
|
|
|
the input was removed in https://github.com/ipetkov/crane/pull/692
|
|
|
|
Effectively other contributors maintain it now.
|
|
this boils down to adding some extra dependencies to the shell
environment. they're also inherited from craneArgs because the ones from
the package are actually transformed into the WRONG outputs of the
packages. also refactors to use craneLib.devShell because it's somewhat
cleaner.
|
|
|
|
Signed-off-by: Suyashtnt <suyashtnt@gmail.com>
|
|
In my tests this was necessary to develop Niri using non-NixOS Nix.
Otherwise Niri panics with this error message: called `Result::unwrap()`
on an `Err` value: EventLoopCreation(NotSupported(NotSupportedError)).
|
|
* add dev dependencies to flake
* parse only one default-column-width
* require exactly one action per bind, and unique keys for binds
* use proper filename for config errors if possible
* fix duplicate keybinds after invalid action, lose some sanity
|
|
|
|
We can't rely on a notification daemon being available, especially
during initial niri setup. So, render our own.
|
|
|
|
* Add Nix Flake
Co-authored-by: Bryce Berger <bryce.z.berger@gmail.com>
* Describe nix flake in readme
* Add `niri-config` to build source list
* Add maintainer info
Add comment at top to indicate the Nix Flake file
is community maintained.
* Clarify Nix/NixOS README instructions
* Shorten Nix/NixOS build instructions
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
* Move NixOS installation instruction to "Tip" section
---------
Co-authored-by: Bryce Berger <bryce.z.berger@gmail.com>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
|