aboutsummaryrefslogtreecommitdiff
path: root/niri-config
AgeCommit message (Collapse)Author
2025-10-02Upgrade dependenciesIvan Molodetskikh
2025-10-02Support calibration-matrix in touch input configSzybet
2025-10-02config: Rename tracy span parse => decode config fileIvan Molodetskikh
2025-10-02tty: Add support for disabling DRM devicesShaun Ren
2025-10-02config: Add a nicer error for recursive includesIvan Molodetskikh
We can't check recursive includes across "dir/" followed by "../" because dir may be a symlink, so "dir/../" may resolve to a different folder. But this is already good within the same folder.
2025-10-02config: Remove now-redundant m_replace!()Ivan Molodetskikh
2025-10-02config: Add merging for InputIvan Molodetskikh
2025-10-02config: Add merging for AnimationsIvan Molodetskikh
2025-10-02config: Add merging for GesturesIvan Molodetskikh
2025-10-02config: Add merging for misc sectionsIvan Molodetskikh
2025-10-02config: Add merging for DebugIvan Molodetskikh
2025-10-02config: Add merging for SwitchBindsIvan Molodetskikh
2025-10-02Partially implement config includesIvan Molodetskikh
Subsequent commits will add merging for all leftover sections.
2025-10-02Add per-output layout configIvan Molodetskikh
2025-10-02Add per-workspace layout configIvan Molodetskikh
Per-workspace background-color doesn't work yet.
2025-10-02config: Split Layout from LayoutPartIvan Molodetskikh
2025-10-02config: Replace resolve_against with MergeWithIvan Molodetskikh
2025-10-02config: Add merge!() macros to reduce boilerplateIvan Molodetskikh
2025-10-02config: Introduce MergeWith traitIvan Molodetskikh
2025-09-20config: Fix discrepancy in default shadow colorIvan Molodetskikh
2025-09-20config: Add a diff empty to default testIvan Molodetskikh
2025-09-20config: Fix inability to override border/focus-ring/tab-indicator gradient ↵Ivan Molodetskikh
with color in window rules
2025-09-16Make hot corners configurable, including per-output (#2108)Kai Koehler
* 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-08-29Bump version to 25.08Ivan Molodetskikh
2025-08-29Add cycle back feature for presets of column/window width/height.Said Kadrioski
2025-08-29feat: cubic-bezier curve for animation (#2059)Horu
* feat: bezier curve for animation * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-27config: Rename DebugConfig => DebugIvan Molodetskikh
2025-08-27config: Clean up animations struct namesIvan Molodetskikh
2025-08-27config: Move workspace into its own moduleIvan Molodetskikh
2025-08-27config: CleanupIvan Molodetskikh
2025-08-27config: Move leftover input tests to inputIvan Molodetskikh
2025-08-27config: Extract miscIvan Molodetskikh
2025-08-27config: Move some stuff to utilsIvan Molodetskikh
2025-08-27config: Extract bindsIvan Molodetskikh
2025-08-27Move Position/SizeChange parsing tests to niri-ipcIvan Molodetskikh
2025-08-27config: Extract debugIvan Molodetskikh
2025-08-27config: Extract gesturesIvan Molodetskikh
2025-08-27config: Extract appearance and layoutIvan Molodetskikh
2025-08-27config: Extract outputIvan Molodetskikh
2025-08-27config: Extract inputIvan Molodetskikh
2025-08-27config: Extract animationsIvan Molodetskikh
2025-08-27config: Extract window_ruleIvan Molodetskikh
2025-08-27Fix focus=false for move-column-to-workspace*, add to ↵gibberish
move-window-to-workspace-up/down
2025-08-26Bump dependenciesIvan Molodetskikh
2025-08-22exit_confirm_dialog: Add open/close animationIvan Molodetskikh
2025-08-20Rename spawn-at-startup-sh => spawn-sh-at-startupIvan Molodetskikh
Makes a bit more sense
2025-08-20Add spawn-sh, spawn-at-startup-shIvan Molodetskikh
Our top 10 most confusing config moments
2025-08-19Add per-axis scroll speed config for input devices (#2109)Bernardo Kuri
* 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-17github wiki replacement / mkdocs-docs (#2147)Kent Daleng
* 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-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>