aboutsummaryrefslogtreecommitdiff
path: root/src/utils
AgeCommit message (Collapse)Author
2025-11-21tty: Throttle VBlanks on displays running faster than expectedIvan Molodetskikh
Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Scott McKendry <39483124+scottmckendry@users.noreply.github.com>
2025-11-18tty: Honor "panel orientation" propertyIvan Molodetskikh
2025-10-30fix: building with systemd on musl libc systemsVal Packett
This mostly affects postmarketOS as we're the ones pushing musl+systemd the most currently.
2025-10-26feat: event-stream event for when a screenshot is taken (#2565)Kainoa Kanter
* feat: event-stream event for when a screenshot is taken * ScreenshotTaken --> ScreenshotCaptured * review comments * fix: screenshot completion event path serializatation * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-10-15Extract with_toplevel_last_uncommitted_configure()Ivan Molodetskikh
2025-10-02utils/watcher: Support config includesIvan Molodetskikh
2025-10-02utils/watcher: Extract PropsIvan Molodetskikh
2025-10-02Partially implement config includesIvan Molodetskikh
Subsequent commits will add merging for all leftover sections.
2025-09-17Update Smithay (last_acked refactor, Qt layer-shell popup grab fix, popup ↵Ivan Molodetskikh
ordering fix)
2025-08-29Change xwl-s spawning error messages from info! to warn!Ivan Molodetskikh
2025-08-20Add spawn-sh, spawn-at-startup-shIvan Molodetskikh
Our top 10 most confusing config moments
2025-08-17Add ConfigLoaded event to IPC, option to disable built-in notification (#1829)Horu
* feat: config reload ipc event * cleanups * Rename and move the new config option * rename to ConfigLoaded and emit at connection --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-15watcher: Refactor tests to not use threadsIvan Molodetskikh
Fixes flakiness, removes unnecessary waiting.
2025-08-14watcher: Mark tests as ignoredIvan Molodetskikh
Until someone figures out how to fix the flakiness. See https://github.com/YaLTeR/niri/issues/2226
2025-08-09Add the `LoadConfigFile` action (#2163)vanderlokken
* Add the `LoadConfigFile` action * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-05fix hot reloading `/etc/niri/config.kdl` (#1907)sodiboo
* refactor config load logic, and properly watch the system config path * move config creation to niri-config, and make the errors a bit nicer notably, "error creating config" is now a cause for "error loading config", instead of it being one error and then "error loading config: no such file or directory". also, failure to load a config is now printed as an error level diagnostic (because it is indeed an error, not just a warning you can shrug off) * refactor watcher tests; add some new ones now they check for the file contents too! and i added some tests for ConfigPath::Regular, including a messy one with many symlink swaps * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-07-31signals: Gate on target_os = "linux"Ivan Molodetskikh
Hopefully fixes build on FreeBSD.
2025-07-31signals: Reduce fn visibilityIvan Molodetskikh
2025-07-31xwayland: Make abstract socket optional and Linux-onlyIvan Molodetskikh
Hopefully fixes build on FreeBSD.
2025-07-18block signals early: now handled correctly with tracy ondemandsodiboo
2025-07-18refactor signal handling, and clear sigmask before spawningsodiboo
2025-06-18Fix typos (#1822)Baily
* Fix: Correct typo in xwayland module and update documentation This commit includes several improvements: 1. **Code Fix (clippy):** - I corrected a typo in `src/utils/xwayland/mod.rs` from `OFlags::WRONGLY` to `OFlags::WRONLY`. This was identified by `clippy` during the build process. 2. **Documentation Updates:** - **README.md**: - I clarified the sentence about finding help in the Matrix channel to be more inviting for new users. - I corrected a future date typo in the Media section for an interview (June 2025 to June 2024). - **wiki/Getting-Started.md**: - I changed the Russian month "мая" to "May" in an example output for better international readability. - I improved keybinding notation for monitor focus/move keys (e.g., Mod+Shift+H / J / K / L) to avoid ambiguity. - I updated `apt-get` to `apt` in Ubuntu dependency installation commands for modern practice. No new typos were found by `typos-cli` in this pass. * Revert README&GS.md to previous version * Apply rustfmt --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-06-07Implement xwayland-satellite integrationIvan Molodetskikh
2025-05-12Implement baba-is-float for layersIvan Molodetskikh
2025-05-07Add a resize transaction client-server testIvan Molodetskikh
2025-03-29Fix typo in commentpeelz
2025-03-13Extract utils::is_mapped()Ivan Molodetskikh
2025-03-13Add tiled-state window rule, update the tiled state liveIvan Molodetskikh
2025-03-09doc: fix wrongly formatted link that `rustdoc` kept complaining aboutJon Heinritz
2025-02-12watcher: Allow running a processing function on the threadIvan Molodetskikh
2025-02-10Implement tab indicatorsIvan Molodetskikh
2025-01-17dbus: DisplayConfig: report fractional scales as supportedVal Packett
2025-01-12use standard padding syntax instead of implementing our ownsodiboo
the padding of the two-digit-month can be implemented much more concisely using `std::fmt` syntax.
2025-01-10Format version as calver automaticallyIvan Molodetskikh
2025-01-10Add NIRI_BUILD_COMMIT env variable overrideIvan Molodetskikh
2025-01-10Add NIRI_BUILD_VERSION_STRING env variable to override the versionIvan Molodetskikh
2025-01-04Migrate to new Rectangle functionsIvan Molodetskikh
2025-01-02Remove notify-rust dependencyIvan Molodetskikh
It uses outdated zbus.
2025-01-02Upgrade `zbus` and `async-io`bbb651
2024-12-30floating: Take into account non-fixed min/max size window ruleIvan Molodetskikh
2024-12-30Extract center_preferring_top_left_in_area()Ivan Molodetskikh
2024-12-30floating: Implement smarter clamping for window locationIvan Molodetskikh
A small part of the window always remains on-screen regardless of the working area changes. Interactive move lets the user position the window anywhere; automatic actions like toggle-window-floating and dialog opening try to put the window fully on-screen. The size-fraction canonical floating window position remains unclamped, and clamping happens when recomputing the logical position.
2024-12-30Honor min/max size in more places like initial configureIvan Molodetskikh
2024-12-22Switch from k9 to insta for snapshot testingIvan Molodetskikh
We'll need some advanced features from insta.
2024-12-15Add missing blank lineIvan Molodetskikh
2024-11-29xdg: startup activationChristian Meissl
pass an activation token to process spawned through actions
2024-11-12Add PID to Window IPCIvan Molodetskikh
2024-11-05Extract is_laptop_panel() to utilsIvan Molodetskikh
2024-11-02Add with_toplevel_role() util functionIvan Molodetskikh
2024-09-03Use libdisplay-info for make/model/serial parsing, implement throughoutIvan Molodetskikh