aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-18layout: Add missing active idx check before setting activate prev on removalIvan Molodetskikh
2024-10-17Set CLOEXEC on logind inhibit fdIvan Molodetskikh
Don't leak it to child processes.
2024-10-17layout: Use remove_column_by_idx in remove_tile_by_idxIvan Molodetskikh
2024-10-17layout: Accept anim_config in remove_column_by_idxIvan Molodetskikh
2024-10-17Add scroll-button property for Touchpad, Mouse, Trackpoint, Trackball (#744)chillinbythetree
2024-10-16Implement input configuration for trackballs (#743)tazjin
* niri-config: add trackball configuration struct The available options are mostly the same as for mice. I've verified that each option is applicable to trackballs in the libinput CLI. * input: apply trackball config settings
2024-10-16layout/monitor: Extract workspace_under()Ivan Molodetskikh
2024-10-15Draw the layout as inactive when layer-shell has focusIvan Molodetskikh
2024-10-15input: apply output transform for tablet input (#737)Christian Meissl
when mapping a tablet input to an output apply the output transform just like we already do for touch input.
2024-10-15Add boxed_union proptest-derive featureIvan Molodetskikh
Our Op enum grew large enough to trigger a stack overflow in proptest-derive's generated code. Thankfully, this feature works around the problem.
2024-10-15flake: use nightly rust-analyzer and add rust-src component (#735)sodiboo
this also improves the application of overlays to be more uniform; what was previously done was just Wrong
2024-10-14layout: Return Tile + info upon removalIvan Molodetskikh
2024-10-14layout/tests: Use existing methodIvan Molodetskikh
2024-10-14layout: Remove unnecessary vec lookupIvan Molodetskikh
2024-10-14layout: Extract Monitor::workspaces_with_render_positions()Ivan Molodetskikh
2024-10-13Add support for running as a dinit service (#728)Mark Karlinsky
* Added dinit services * Added dinit support to niri-session * Replaced shutdown script for dinit with a single command execution * Added dinit service files to Getting Started install tables * Fix typo in resources/dinit/niri Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Fixed mistakes in wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * niri-session does not start dinit anymore --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-10-12layout: Fix expel animation of the smaller window in columnIvan Molodetskikh
2024-10-12Implement ConsumeOrExpelWindow{Left,Right} by idIvan Molodetskikh
2024-10-12layout/workspace: Add add_tile_to_column()Ivan Molodetskikh
2024-10-11Support empty column in tile_offsetsIvan Molodetskikh
Will be needed for the new inserting tile code.
2024-10-10layout: Add clarifying commentIvan Molodetskikh
2024-10-10layout: Deduplicate default width resolutionIvan Molodetskikh
2024-10-10layout: Replace move_window_to_output with move_to_outputIvan Molodetskikh
2024-10-10layout/workspace: Reduce code duplication in adding windowsIvan Molodetskikh
2024-10-10layout: Reduce field visibilityIvan Molodetskikh
The outside code isn't supposed to mess with the fields.
2024-10-09added power-on-monitors (#723)Winter
2024-10-06Document the new cursor hide settingsIvan Molodetskikh
2024-10-06Rework pointer inactivity hide as a timerIvan Molodetskikh
The previous way was prone to triggering late due to compositor idling and therefore never calling the check function.
2024-10-06Implement hide cursor on key press and on timeoutyzy-1
2024-10-06Show hidden pointer on mouse pressIvan Molodetskikh
Feels like this should be the case.
2024-10-06implement locked cursor position hints (#685)sodiboo
* implement cursor position hints * Remove redundant fully qualified path * Find root surface * Convert nesting to if-return * Manually wrap error messages * Remove error!() prints * Add queue redraw --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-10-05remove redundant pointer casts in shader codesodiboo
2024-10-05use CStr literals over calling CStr::from_bytes_with_nulsodiboo
2024-10-05use `if let Some()` over `match` with `None => ()`sodiboo
2024-10-05flake: add `overlay` outputseth
2024-10-05flake: use rust-overlay in dev shellseth
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
2024-10-05ci: `nix build` -> `nix flake check`seth
The (debug) package is already set as a check and will still be built with this, but Nix will now also check other outputs automatically -- such as the dev shell
2024-10-05flake: improve packagingseth
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
2024-10-05flake: drop most external inputsseth
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
2024-10-05flake: format with nixfmtseth
2024-10-05flake: use nixfmtseth
2024-10-01default-config: Add more comments to prefer-no-csdIvan Molodetskikh
2024-10-01default-config: Add rounded corner window rule exampleIvan Molodetskikh
2024-10-01default-config: Add comments to consume/expel bindsIvan Molodetskikh
2024-09-30Upgrade dependenciesIvan Molodetskikh
2024-09-30Update SmithayIvan Molodetskikh
2024-09-30handle role specific buffer offsetChristian Meissl
2024-09-30Remove one unnecessary .clone() call and reorder anotherspazzylemons
2024-09-28fix focus_up_or_rightMarwin Kreuzig
2024-09-15flake: update inputs and remove crane.inputs.nixpkgs overridesodiboo
the input was removed in https://github.com/ipetkov/crane/pull/692