forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to niri-ipc/src/lib.rsClear filter

2026-10-19

Add serde defaults to optional IPC fields (#4698)Dijo · Unverified964275e
Add serde defaults to optional IPC fields (#4698)

* [ ipc ] :  add serde defaults for optional action fields

* [ ipc ] : default omitted VRR on demand flag false

* [ ipc ] : remove serde tests

2026-10-15

2026-01-26

Add toggle-touchpad actionbarrulus · 4e3661b
Add toggle-touchpad action

Adds a new action to toggle the touchpad on/off at runtime without
editing the config file. Can be bound to a key or invoked via IPC
with `niri msg action toggle-touchpad`.

The toggle state is combined with the config's `off` setting - both
must allow the touchpad for it to be enabled. State resets on restart
and applies to newly hot-plugged touchpads.

2026-09-12

feat: implement ext-image-copy-capture for outputs and cursorsPatrick Gaskin · 849c576
feat: implement ext-image-copy-capture for outputs and cursors

No toplevel capture support yet since that'll require more refactoring.

2025-12-31

feat: add per output max-bpc config and ipc actionMichael Yang · c525396
feat: add per output max-bpc config and ipc action

List current max-bpc values in outputs.

fix: remove 16 bpc and change default behaviour

feat(ipc): add max_bpc and format to output

fix: bpc on output config change

docs: add bpc to Outputs

feat: use atomic commits for connector properties

fix: drm `value_type` breaking change

fix: minor changes based on PR review

Rename bpc to max-bpc.

Add max-bpc output action.

refactor: add set_connector_properties

Fix niri-config parse test.

fix: bail when outside valid max bpc range

2026-04-25

Bump version to 26.04Ivan Molodetskikh · 414729dBrowse files

2026-02-21

2026-02-06

Add load-config-file --path to load a different config (#3395)ジムワルド · Unverified549148d
Add load-config-file --path to load a different config (#3395)

* ipc: allow load-config to relocate the path of the config

* doc: add info about alternative configuration paths and relocating

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

* Update docs/wiki/Integrating-niri.md

* Update niri-ipc/src/lib.rs

* Update src/ipc/server.rs

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2026-01-25

Fix expel-window-from-column commentIvan Molodetskikh · e11abe5
Fix expel-window-from-column comment

It's been changed to this a while ago.

2026-01-15

2026-01-14

2026-01-13

ipc: Add CastKindIvan Molodetskikh · b98f490Browse files

2026-01-12

ipc: Add screencast request and events for PipeWire castsIvan Molodetskikh · 238caaf
ipc: Add screencast request and events for PipeWire casts

Allows desktop bars to show when screen recording is active.

2026-01-06

2025-11-29

Bump version to 25.11Ivan Molodetskikh · ed266ccBrowse files

2025-11-16

2025-10-29

Add support for custom modes and modelines. (#2479)Merlijn · Unverified6a2c626
Add support for custom modes and modelines. (#2479)

* 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-26

feat: event-stream event for when a screenshot is taken (#2565)Kainoa Kanter · Unverifiede6f3c53
feat: event-stream event for when a screenshot is taken (#2565)

* 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-19

Add --path argument for niri msg screenshot* commands (#2126)Lin Xianyi · Unverified23cd5aa
Add --path argument for niri msg screenshot* commands (#2126)

* 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-10-18

feat(move-floating-window): percentage change (#2371)Mykyta Onipchenko · Unverified79cdbc5
feat(move-floating-window): percentage change (#2371)

* feat: add percentage change to move-floating-window

* fixes

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-09-02

2025-08-27

Bump version to 25.08Ivan Molodetskikh · af4b5f9Browse files

2025-08-28

2025-08-27

2025-06-16

2025-08-20

Add spawn-sh, spawn-at-startup-shIvan Molodetskikh · e81f356
Add spawn-sh, spawn-at-startup-sh

Our top 10 most confusing config moments

2025-08-17

Add ConfigLoaded event to IPC, option to disable built-in notification (#1829)Horu · Unverified271534e
Add ConfigLoaded event to IPC, option to disable built-in notification (#1829)

* 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-16

niri-ipc: Add window positions and sizes (#1265)yrkv · Unverifiedaf30cc8
niri-ipc: Add window positions and sizes (#1265)

* 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-08-09

Add the `LoadConfigFile` action (#2163)vanderlokken · Unverified67361f8
Add the `LoadConfigFile` action (#2163)

* Add the `LoadConfigFile` action

* fixes

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-07-11

Fix docs for FocusWindowOrWorkspaceDownLin Xianyi · 186e0b6
Fix docs for FocusWindowOrWorkspaceDown

Typo fix for the doc comment

2025-05-25

Bump version to 25.05.1Ivan Molodetskikh · 8ba57fcBrowse files
Rename Un/Set/ToggleUrgent to Un/Set/ToggleWindowUrgentIvan Molodetskikh · 126ca37
Rename Un/Set/ToggleUrgent to Un/Set/ToggleWindowUrgent

Overlooked this when reviewing. This change is not cfg-breaking (since you
can't bind these directly), but it does break calling these actions through
IPC. I don't imagine they are widely used though, and the original PR author
who also implemented urgency for bars said he didn't use these actions either.

2025-05-17

Bump version to 25.05Ivan Molodetskikh · 3b864dcBrowse files

2025-05-12

2025-03-02

2025-05-10

2025-03-27

2025-03-21

2025-05-09

Implement IPC for the overview state (#1526)Charlie Le · Unverified3cc6789
Implement IPC for the overview state (#1526)

* 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-05-01

2025-04-25

Implement an OverviewIvan Molodetskikh · af1fca3Browse files

2025-03-31

add toggle-keyboard-shortcuts-inhibit to CLI/IPC (#1366)sodiboo · Unverified36489f1
add toggle-keyboard-shortcuts-inhibit to CLI/IPC (#1366)

* add toggle-keyboard-shortcuts-inhibit to CLI/IPC

missed it in ef8d5274b849fe0bd76ab7159765202ac98f7bbc
or https://github.com/YaLTeR/niri/pull/630
or 0584dd2f1e82417bdabcc0d8cb20fddc2e8cc5e7
or whatever

* Update niri-ipc/src/lib.rs

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-03-29

Add focus argument to move-window-to-workspace (#1332)nyx · Unverified0db48e2
Add focus argument to move-window-to-workspace (#1332)

* layout: add focus flag to move-window-to-workspace

* lib: update comment

* misc: minor dup refactor

* input: format code

* layout: minor nit

* layout: update comment

* input: remove unnecessary conditionals

* misc: replace boolean

* tests: fix the failing one

* layout: change to smart

* ipc: Option<bool> -> bool

* lib: format code

* Rewrite focus doc comment

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-03-06

feat: support color picker functionalitynnyyxxxx · 7210045
feat: support color picker functionality

chore: format code

refactor: improve quality

feat: implement gnomes PickColor method

refactor: minor code extraction

misc: fix reviews

fixes

2025-03-17

Implement toggle-windowed-fullscreenIvan Molodetskikh · 39f52b7
Implement toggle-windowed-fullscreen

Windowed, or fake, or detached, fullscreen, is when a window thinks that it's
fullscreen, but the compositor treats it as a normal window.

2025-03-15

2025-03-13