aboutsummaryrefslogtreecommitdiff
path: root/src/ipc
AgeCommit message (Collapse)Author
2025-10-29Add support for custom modes and modelines. (#2479)Merlijn
* Implement custom modes and modelines Co-authored-by: ToxicMushroom <32853531+ToxicMushroom@users.noreply.github.com> * fixes * refactor mode and modeline kdl parsers. * add IPC parse checks * refactor: address feedback * fix: add missing > 0 refresh rate check * move things around * fixes * wiki fixes --------- Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
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-19Add --path argument for niri msg screenshot* commands (#2126)Lin Xianyi
* Check for empty screenshot parent before creating Avoids a warning. * Add --path argument for niri msg screenshot* commands * fix --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
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-16niri-ipc: Add window positions and sizes (#1265)yrkv
* Add window sizes and positions to the IPC * basic fixes * report window_loc instead of window pos * clean ups * make scrolling indices 1-based * add printing to niri msg windows * don't include render offset in floating tile pos --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-07-13Fix new Clippy warningsIvan Molodetskikh
2025-05-15ipc/client: Make compositor version check for JSON parsing errorsIvan Molodetskikh
These can happen when adding new fields to returned structs.
2025-05-11ipc/socket: Support multiple requestsIvan Molodetskikh
2025-05-11ipc: support long living socketsJon Heinritz
2025-05-10Print urgent status in niri msg windowsIvan Molodetskikh
2025-05-10add WindowUrgencyChanged ipc eventDuncan Overbruck
2025-05-10add workspace urgency ipc eventDuncan Overbruck
2025-05-09Implement IPC for the overview state (#1526)Charlie Le
* Implement IPC for the overview state * Update Overview IPC to maintain naming consistency, renamed OverviewToggled to be more clear, simplify overview state request on the server, consolidate ipc refresh * Fix Overview is_open in IPC client * Change opened to is_open * Update niri-ipc/src/lib.rs Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update niri-ipc/src/state.rs Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update src/ipc/client.rs Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update src/ipc/client.rs Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Add overview state to EventStreamStatePart replicate and apply * Fix formatting * Rename Overview to OverviewState --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-22feat: support color picker functionalitynnyyxxxx
chore: format code refactor: improve quality feat: implement gnomes PickColor method refactor: minor code extraction misc: fix reviews fixes
2025-02-26Implement `niri msg pick-window`bbb651 🇮🇱
* feat: `niri msg pick-window` * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-01-27Don't create on-disk sockets in testsIvan Molodetskikh
2025-01-10Fix new Clippy warningsIvan Molodetskikh
2024-12-30Add is_floating to Window IPCIvan Molodetskikh
2024-11-25Refactor animation timing to use lazy clocksIvan Molodetskikh
2024-11-12Add niri msg layersIvan Molodetskikh
2024-11-12Add PID to Window IPCIvan Molodetskikh
2024-11-02Add with_toplevel_role() util functionIvan Molodetskikh
2024-10-27Implement interactive window moveRasmus Eneman
2024-10-10layout: Reduce field visibilityIvan Molodetskikh
The outside code isn't supposed to mess with the fields.
2024-09-30Update SmithayIvan Molodetskikh
2024-09-06Extract print_window()Ivan Molodetskikh
2024-09-05Change output sorting to match make/model/serial firstIvan Molodetskikh
We can do this now that we have libdisplay-info.
2024-09-04Fix missing KeyboardLayoutSwitched event on XKB switchIvan Molodetskikh
2024-09-04ipc: Don't re-export socket typesIvan Molodetskikh
2024-09-03Use libdisplay-info for make/model/serial parsing, implement throughoutIvan Molodetskikh
2024-09-01Add niri msg windowsIvan Molodetskikh
2024-09-01Rearrange some CLI and IPC enum valuesIvan Molodetskikh
2024-09-01Make WorkspaceId inner field privateIvan Molodetskikh
2024-09-01Change MappedIt::get() to return u64Ivan Molodetskikh
2024-09-01Implement the event stream IPCIvan Molodetskikh
2024-09-01ipc: Read only a single line on the clientIvan Molodetskikh
Allow extensibility.
2024-08-25Add niri msg keyboard-layoutsIvan Molodetskikh
2024-07-05Add output ID trackingIvan Molodetskikh
2024-05-26Add niri msg focused-outputrustysec
2024-05-17Implement niri msg workspacesrustysec
2024-05-08ipc: Wait until action is processed before returningIvan Molodetskikh
2024-05-05ipc: Respect --json for msg outputIvan Molodetskikh
2024-05-05Make output name matching case-insensitiveIvan Molodetskikh
2024-05-05Print message when output was not foundIvan Molodetskikh
2024-05-05Implement niri msg outputIvan Molodetskikh
2024-04-19`niri_ipc::Socket`; `niri msg version`; version checking on IPC (#278)sodiboo
* Implement version checking in IPC implement version checking; streamed IPC streamed IPC will allow multiple requests per connection add nonsense request change inline struct to json macro only check version if request actually fails fix usage of inspect_err (MSRV 1.72.0; stabilized 1.76.0) "nonsense request" -> "return error" oneshot connections * Change some things around * Unqualify niri_ipc::Transform --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-04-19Add allow-when-locked=true spawn bind propertyIvan Molodetskikh
2024-04-15Add vrr_supported/enabled to output IPCIvan Molodetskikh
2024-03-31Set SIGPIPE to SIG_DFL before printing in niri msgIvan Molodetskikh
2024-03-28Implement niri msg focused-windowIvan Molodetskikh