Commit Graph

47 Commits

Author SHA1 Message Date
Ivan Molodetskikh e837e39623 FAQ: Mention how to escape from a dead screen locker 2025-09-24 08:31:01 +03:00
Ivan Molodetskikh 3850739e44 FAQ: Mention directly opening in column, and focus-follows-mouse on monitor edges 2025-09-23 15:40:39 +03:00
Malix 4d4d968d97 enhance(docs): NixOS - Intel graphics workaround wiki link 2025-09-22 17:42:12 +03:00
Kai Koehler 08f5c6fecb Make hot corners configurable, including per-output (#2108)
* Add corner selection in config

* Add hot corner docs

* Working per-monitor hot corners

Handle defaults

* run cargo fmt --all

* Fix hot corners in is_sticky_obscured_under

* Change default to fall back to gesture hot corners if output hot corners are unset

* Add hot corner output config docs

* Support fractional scaling

* Trigger hot corners over widgets

* Improve float handling
Fixed YaLTeR/niri/pull/2108

* Refactor

* Bug Fixes

* Amend docs

Fix styling

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

* Integrate code review

Move is_inside_hot_corner

* fixes

---------

Co-authored-by: Aadniz <8147434+Aadniz@users.noreply.github.com>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-09-16 15:10:01 +00:00
Jan Ivica 22f629c24b wiki: Remove rofi-wayland mention 2025-09-07 04:00:23 -07:00
Ivan Molodetskikh c69464c128 wiki: Add Name and Logo page 2025-09-03 22:01:04 +03:00
Ivan Molodetskikh c08bffb092 wiki: Set vertical-align: middle for tables
Should match GitHub better.
2025-09-03 21:41:55 +03:00
Ivan Molodetskikh 0c5beaac40 wiki/Accessibility: Mention more current limitations 2025-09-03 13:34:28 +03:00
yuitayuun 77465e11fe wiki/Xwayland: Added a mention of Native Wayland for gaming compat (#2321)
* wiki/Xwayland: Added a mention of Native Wayland for gaming compatibility

* Update docs/wiki/Xwayland.md

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-09-01 15:04:33 +03:00
Ivan Molodetskikh db419b4fc7 wiki/Accessibility: Clarify workspace announcement 2025-08-31 11:20:20 +03:00
Ivan Molodetskikh 7c14063707 wiki/Accessibility: Mention xfce4-appfinder 2025-08-31 11:19:29 +03:00
Ivan Molodetskikh 5dd6fbddb5 wiki/Accessibility: Add demo video 2025-08-30 15:18:41 +03:00
Ivan Molodetskikh af4b5f99e9 Bump version to 25.08 2025-08-29 22:01:28 +03:00
Ivan Molodetskikh 0cc041f5ad wiki/Nvidia: Mention that screencast flickering was fixed 2025-08-29 16:30:46 +03:00
Ivan Molodetskikh bf472970c6 wiki: Update Xwayland-related info 2025-08-29 11:54:25 +03:00
Ivan Molodetskikh 082d0581b7 Improve filtering for tests that need EGL
This way we don't skip the layout animation tests.
2025-08-29 10:07:15 +03:00
Ivan Molodetskikh fd6dd826fb wiki/Integrating-niri: Mention to remove manual xwl-s startup 2025-08-29 10:06:47 +03:00
Ivan Molodetskikh 2bb26f0281 wiki/Packaging-niri: Mention shell completions 2025-08-29 09:35:01 +03:00
Ivan Molodetskikh e11c35c387 wiki/Accessibility: Expand info from feedback 2025-08-29 09:32:53 +03:00
Horu 1ffda91e0c feat: cubic-bezier curve for animation (#2059)
* feat: bezier curve for animation

* fixes

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-29 05:31:50 +00:00
Ivan Molodetskikh d9833fc1c3 wiki/Integrating-niri: Add desktop components section 2025-08-27 17:27:04 +03:00
Ivan Molodetskikh dfcd5e9497 wiki/Integrating-niri: Add Since to screen readers 2025-08-27 17:09:37 +03:00
Ivan Molodetskikh 7115b214b2 wiki: Add Integrating niri page 2025-08-27 14:22:23 +03:00
Ivan Molodetskikh f6f4bf97c3 wiki/Accessibility: Add link to spawn-at-startup 2025-08-27 09:17:58 +03:00
Ivan Molodetskikh 7cbb6288c3 wiki/Accessibility: Add missing Since 2025-08-26 23:42:17 +03:00
Ivan Molodetskikh 39e5f637ef wiki: Add Accessibility page 2025-08-26 22:09:58 +03:00
Ivan Molodetskikh 9b622b1c8c wiki/Gestures: Mention 4-finger swipe to open/close the overview 2025-08-25 14:23:21 +03:00
Ivan Molodetskikh 2865ec3e47 wiki/Design-Principles: Clarify sentence 2025-08-22 19:11:26 +03:00
Ivan Molodetskikh b3c7737998 wiki: Rearrange and expand design principles 2025-08-22 19:07:25 +03:00
Ivan Molodetskikh 58290516c7 wiki/Animation-Timing: Add two nbsps
The 170 Hz one was at the exact breaking point for me.
2025-08-22 17:41:52 +03:00
Ivan Molodetskikh 210d5e90fe exit_confirm_dialog: Add open/close animation 2025-08-22 08:57:08 +03:00
Ivan Molodetskikh 05337ce855 wiki/Application-Issues: Mention Waybar black corners 2025-08-21 10:28:44 +03:00
Ivan Molodetskikh 34b05e8671 Rename spawn-at-startup-sh => spawn-sh-at-startup
Makes a bit more sense
2025-08-20 15:10:05 +03:00
Ivan Molodetskikh e81f356908 Add spawn-sh, spawn-at-startup-sh
Our top 10 most confusing config moments
2025-08-20 14:43:50 +03:00
Ivan Molodetskikh 781edba45f wiki/Getting-Started: Mention DEs and shells 2025-08-19 10:40:52 +03:00
Kent Daleng 6d62c26a0f configure section permalinks 2025-08-19 10:20:01 +03:00
Bernardo Kuri 5ea9092a49 Add per-axis scroll speed config for input devices (#2109)
* Add per-axis scroll speed config for input devices.

Accepts negative values to inverse scroll direction.

Properly complements/overrides global `scroll-direction` setting.

Includes docs and tests.

* Update per-axis scroll factor implementation after testing

- Refined configuration structure in niri-config
- Updated input handling to use per-axis scroll factors
- Added comprehensive test snapshots
- Updated documentation with per-axis examples

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Simplify per-axis scroll factor implementation per review feedback

- Make documentation concise and clear
- Remove unnecessary comments and test helper functions
- Use inline snapshots for tests
- Rename get_factors() to h_v_factors() for clarity
- Remove unnecessary .clone() calls (ScrollFactor is Copy)
- Reduce test count to essential cases only
- Fix comment about window factor override behavior

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Remove unnecessary ScrollFactor::new() helper function

The maintainer prefers minimal code, so removing this helper and
constructing ScrollFactor directly in tests.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix scroll factor behavior - all settings now multiply with window factor

Per maintainer feedback, both combined and per-axis scroll settings
should multiply with the window-specific scroll factor, not override it.
This ensures consistent behavior regardless of configuration method.

Also removed the now-unused has_per_axis_override() method.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Final cleanup: remove redundant comments and unused snapshot files

- Removed unused snapshot files (now using inline snapshots)
- Removed redundant inline comments in tests
- Simplified test descriptions to be more concise

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Convert scroll factor parsing tests to use assert_debug_snapshot

Updates parse_scroll_factor_combined, parse_scroll_factor_split, and
parse_scroll_factor_partial tests to use assert_debug_snapshot instead
of manual assert_eq comparisons, as requested in PR review.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Convert to inline snapshots as requested

- Convert all scroll factor parsing tests to use inline snapshots instead of external files
- Remove external snapshot files to keep test directory clean
- All tests still pass with inline snapshot assertions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix missed assert_eq in parse_scroll_factor_mixed test

Converts the remaining assert_eq calls to assert_debug_snapshot
with inline snapshots in the mixed syntax test function.
Also fixes raw string delimiters from ### to #.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Convert scroll_factor_h_v_factors test to use assert_debug_snapshot

Makes all scroll factor tests consistent by using snapshots instead
of assert_eq for better maintainability.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fixes

---------

Co-authored-by: Bernardo Kuri <github@bkuri.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-19 05:51:32 +00:00
Ivan Molodetskikh 43a2648e57 wiki/FAQ: Add spaces for search to work
"pinned" doesn't find anything otherwise
2025-08-18 20:45:38 +03:00
Ivan Molodetskikh ba129e98e3 wiki/FAQ: Mention Bitwarden 2025-08-18 20:26:07 +03:00
Ivan Molodetskikh 5f3528a2ee wiki/FAQ: Mention always on top windows 2025-08-18 20:05:27 +03:00
Ivan Molodetskikh a5777b9473 wiki/Application-Issues: Mention Zen dmabuf screencasting 2025-08-18 20:01:55 +03:00
Ivan Molodetskikh 6dc4f6a622 wiki: Improve home page 2025-08-18 09:53:42 +03:00
Ivan Molodetskikh 85d42db05d wiki/FAQ: Mention blur 2025-08-18 09:49:00 +03:00
Kent Daleng d6db202a03 wiki/docs: rename index.md to README.md 2025-08-18 09:42:27 +03:00
Ivan Molodetskikh 3a85e77518 wiki: Minor logo update 2025-08-17 23:00:38 +03:00
Kent Daleng e0bf056ba3 docs: location-agnostic index page (#2256)
* Update index.md

a simple suggestion for a location-agnostic index page

* Update docs/wiki/index.md

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

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-17 19:41:17 +00:00
Kent Daleng dc93f1c1fd github wiki replacement / mkdocs-docs (#2147)
* Add wiki based on mkdocs

* wording fixes

* fix github bg color on narrow

* Fix left sidebar section headers being bigger than pages

* fix hover accent

* fix list rendering on fractional layout

* fix videos

* fix automatic full links

* remove redundant commented css

* improve dark mode contrast

* update pygments for better child node coloring

* update logo

* remove blank lines

* add systemd language hint

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-17 17:05:41 +03:00