forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 055a94de3d3b792adfb6842bdddd8eab6384164f

2025-08-07

Reload libinput settings when trackball, tablet and touch changeIvan Molodetskikh · 055a94d
Reload libinput settings when trackball, tablet and touch change

Somehow missed this before.

2025-08-05

fix hot reloading `/etc/niri/config.kdl` (#1907)sodiboo · Unverified52c579d
fix hot reloading `/etc/niri/config.kdl` (#1907)

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

pw_utils: Set sequence in buffer meta headerIvan Molodetskikh · 378a90e
pw_utils: Set sequence in buffer meta header

Useful for debugging.

2025-08-03

pw_utils: Wait for frame completion before queueingIvan Molodetskikh · f49ecc3
pw_utils: Wait for frame completion before queueing

Without explicit sync, we have no way to signal the PipeWire consumer when the
rendering is done. So, wait until it's done before giving it the frame.

This should fix flickering screencasts on NVIDIA.
pw_utils: Fill dmabuf strides and offsets at add_buffer()Ivan Molodetskikh · 15b4acc
pw_utils: Fill dmabuf strides and offsets at add_buffer()

As far as I understand, these don't change.
pw_utils: Store LoopHandleIvan Molodetskikh · 43577f4Browse files

2025-08-02

pw_utils: Switch to using raw pw_buffersIvan Molodetskikh · 8fba696
pw_utils: Switch to using raw pw_buffers

We're gonna need to store these in the future, and the lifetime on the pw-rs
Buffer prevents us from easily doing that. Besides, we'll need access to
metadata which pw-rs doesn't expose yet.

2025-07-17

2025-07-31

Upgrade dependenciesIvan Molodetskikh · 91b6a11
Upgrade dependencies

Leave gtk-rs for now as it bumped MSRV to 1.83.

2025-07-15

2025-07-31

signals: Gate on target_os = "linux"Ivan Molodetskikh · e19e1f0
signals: Gate on target_os = "linux"

Hopefully fixes build on FreeBSD.
xwayland: Make abstract socket optional and Linux-onlyIvan Molodetskikh · 4ac4cb4
xwayland: Make abstract socket optional and Linux-only

Hopefully fixes build on FreeBSD.

2025-07-27

default-config: Add a bind to toggle orca (screen reader)Ivan Molodetskikh · 365274e
default-config: Add a bind to toggle orca (screen reader)

Signed-off-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-07-16

Implement org.fd.a11y KeyboardMonitorIvan Molodetskikh · 672bf3e
Implement org.fd.a11y KeyboardMonitor

Makes Orca work with niri:
- keyboard watching and announcing everywhere (not just GTK 3 windows)
- grabs for the Orca modifier (with double-press to pass through) and keystrokes

2025-07-18

2025-07-16

2025-07-17

ci: add musl/alpine build (#2065)ジムワルド · Unverified9c09bc7
ci: add musl/alpine build (#2065)

* ci: add musl build

* Update .github/workflows/ci.yml

* Update .github/workflows/ci.yml

---------

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

2025-07-16

Add Nvidia.md leaf file, add links in sidebar & getting started (#2029)hecate cantus · Unverified60fbcd2
Add Nvidia.md leaf file, add links in sidebar & getting started (#2029)

* Add Nvidia.md leaf file, add links in sidebar & getting started

* squash review-commits from gh to one commit

* heap reuse ratio from 1 => 0 to match currently shipped solution

* Update wiki/Nvidia.md

---------

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

2025-07-15

2025-07-13

nix: replace nix-filter with lib.filesetBloxx12 · 30a9c6c
nix: replace nix-filter with lib.fileset

Co-authored-by: sodiboo <git@sodi.boo>

2025-07-15

niri-session: Also unset DISPLAYIvan Molodetskikh · bc0a062
niri-session: Also unset DISPLAY

We set it now for xwayland-satellite integration.

2025-07-14

Print when exiting by signalIvan Molodetskikh · 56901ee
Print when exiting by signal

Doesn't appear to work at the moment?

2025-07-01

2025-07-14

Set logind LockedHint on lock/unlock (#1763)peelz · Unverified25cbb73
Set logind LockedHint on lock/unlock (#1763)

* Set logind LockedHint on lock/unlock

* fixup! Set logind LockedHint on lock/unlock

- use warn!() instead of error!()
- extract dbus call into a separate method

* fixup! Set logind LockedHint on lock/unlock

- Update LockedHint in refresh_and_flush_clients

* fixup! Set logind LockedHint on lock/unlock

woops

* fixup! Set logind LockedHint on lock/unlock

- only call SetLockedHint if niri was run with `--session`

* fixes

---------

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

2025-07-12

Detect external session managementVladimir-csp · 8833963
Detect external session management

This should make `uwsm start niri.desktop` possible like with other compositors.

2025-07-13

2025-07-14

Add CONTRIBUTING.mdIvan Molodetskikh · fe2c2eeBrowse files
Add nushell completion support (#2009)Artrix · Unverified746a7e8
Add nushell completion support (#2009)

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

2025-07-13

Simplify pointer handling in constraint checkabmantis · 51b6a49
Simplify pointer handling in constraint check

Minor change so that `get_pointer()` (which has a lock) does not get
called twice. Also moved the call to `current_location()` to the scope
where it is needed.
feat: add hint to disable "Important Hotkeys" in the default config file (#1881)Sharun · Unverified19c8fca
feat: add hint to disable "Important Hotkeys" in the default config file (#1881)

* feat: add hint to disable "Important Hotkeys" in the default config file

* Update resources/default-config.kdl

---------

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-06-15