forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 97dfd2b1a00bcb9b765a8fa92ce39d2e0c79abc2

2025-06-12

2025-06-11

Clamp colors to valid values when parsing config The oklch color space often creates weird values when parsed by csscolorparser. clamping the output to values between 0 and 1 should fix inconsistent color handling on borders.Andrew Davis · 07080a0
Clamp colors to valid values when parsing config
The oklch color space often creates weird values when parsed by csscolorparser.
clamping the output to values between 0 and 1 should fix inconsistent color handling
on borders.
Expand screenshot UI to handle move-X-or-to-workspace/monitor-X (#1669)Illia Ostapyshyn · Unverified10a6d6a
Expand screenshot UI to handle move-X-or-to-workspace/monitor-X (#1669)

* Expand screenshot UI to handle more moving actions

Currently, screenshot UI handles MoveColumn{Left,Right} and
MoveWindow{Up,Down} which move the screenshot selection as if it were a
floating window.  Expand this to include MoveColumn*OrToMonitor* and
MoveWindow*OrToWorkspace* and adjust their logic to move the screenshot
selection.

* Update src/input/mod.rs

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Update Example-systemd-Setup.md to use add-wants (#1710)Nathan · Unverified7db864d
Update Example-systemd-Setup.md to use add-wants (#1710)

Instead of hard-linked locations tried to reword to simplify for both XDG-compliance and/or non-compliance. Additionally, replace 'ln ...' references with "add-wants" from systemctl. This advantage is that it creates all the right directories and the only thing the user needs to worry about later is possibly removing a symlink manually.
Add deactivate-unfocused-windows debug flag (#1706)sashomasho · Unverified8d7b22d
Add deactivate-unfocused-windows debug flag (#1706)

* force xdg deactivation on invisable workspaces

This debug option provides a workaround for many Chromium-based chat
applications that fail to show notifications when they're active in
a workspace that's not currently visible and don't have keyboard focus

Signed-off-by: Alex Yosifov <sashomasho@gmail.com>

* fixes

---------

Signed-off-by: Alex Yosifov <sashomasho@gmail.com>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-06-10

Ignore lock surfaces from unrelated clientsIvan Molodetskikh · 0407ac5
Ignore lock surfaces from unrelated clients

gtklock doesn't mind the fact that it got denied the lock, and just creates a
new lock surface anyway. And we happily replace the running lock with it.

2025-06-09

Accept FloatOrInt for input accel_speed, animation slowdownIvan Molodetskikh · 6bab912
Accept FloatOrInt for input accel_speed, animation slowdown

Technically cfg-breaking due to introducing min/max limits at parse time, but
values outside these limits were invalid anyway, so maybe it's fine?

2025-06-04

2025-06-05

2025-06-04

Round lock surface size, rather than floorIvan Molodetskikh · 9858599
Round lock surface size, rather than floor

There's no problem with 1 px overflow here, while 1 px underflow shows up as a
border.

2025-06-03

add option to hide unbound actions in hotkey overlay (#1618)Kent Daleng · Unverifiedabac28a
add option to hide unbound actions in hotkey overlay (#1618)

* add option to hide unbound actions in hotkey overlay

* fix config test, add some docs

* Add kdl language hint

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

* Improve docs

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

* hide_unbound -> hide_not_bound

* forgot to rename in wiki

* filter actions before calling format

* use any instead of contains

* retain instead of filter

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Add debug option to skip cursor-only updates while VRR is active (#1616)Gwen · Unverifieda7186a0
Add debug option to skip cursor-only updates while VRR is active (#1616)

* Add debug option to skip cursor-only updates while VRR is active

* Update niri-config/src/lib.rs

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

* Update src/backend/tty.rs

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

* Update wiki/Configuration:-Debug-Options.md

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

* Update Configuration:-Debug-Options.md

* Update tty.rs

* Update lib.rs

* Update Configuration:-Debug-Options.md

---------

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

2025-06-01

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.
wiki: Remove note about numlock issueIvan Molodetskikh · e6bd60f
wiki: Remove note about numlock issue

It's been fixed.

2025-05-23

input: do not revert fully invisible cursor to hidden (#1650)Duncan Overbruck · Unverified7fdb918
input: do not revert fully invisible cursor to hidden (#1650)

* input: do not force redraw to hide an already hidden cursor

* more

---------

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

2025-05-22

2025-05-21

input: Add missing redraws on urgency actionsIvan Molodetskikh · 71251a7
input: Add missing redraws on urgency actions

The layout urgent colors update even without window rule changes.

2025-05-18

layer-shell: properly handle re-mapalex-huff · 2415346
layer-shell: properly handle re-map

According to the zwlr_layer_surface_v1 documentation: Unmapping a
layer_surface means that the surface cannot be shown by the compositor
until it is explicitly mapped again. The layer_surface returns to the
state it had right after layer_shell.get_layer_surface. The client can
re-map the surface by performing a commit without any buffer attached,
waiting for a configure event and handling it as usual.

Before this commit, no configure event was sent when a client performed
a commit without any buffer attached.

2025-05-19

2025-05-17

Update README.mdIvan Molodetskikh · Unverifiedae89cb6Browse files

2025-05-10

2025-05-17

Bump version to 25.05Ivan Molodetskikh · 3b864dcBrowse files
wiki: Link to issue in numlockIvan Molodetskikh · ac7b3fb
wiki: Link to issue in numlock

https://github.com/YaLTeR/niri/issues/1501

2025-05-13

Update dependencies more carefullyIvan Molodetskikh · bb8eb37
Update dependencies more carefully

No winit deadlock in this update.

2025-05-16

Revert "Update dependencies"Ivan Molodetskikh · 6169c03
Revert "Update dependencies"

Something is causing winit deadlock on nested niri exit.

This reverts commit 2ae99224abadd9245f0c55f5842e4a554bdb765e.

This reverts commit 0d6843ea67da91aea37b655be5de92dfeea081b5.