Commit Graph

2202 Commits

Author SHA1 Message Date
Ivan Molodetskikh bb40a35ccf wiki/Xwayland: Link FAQ entry with reasons 2025-07-13 17:46:47 +03:00
Ivan Molodetskikh 37c6412e80 wiki/FAQ: Mention reasons for not integrating Xwayland 2025-07-13 17:44:07 +03:00
Sharun 19c8fca836 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-13 11:29:27 +00:00
Lin Xianyi 186e0b608a Fix docs for FocusWindowOrWorkspaceDown
Typo fix for the doc comment
2025-07-13 14:11:17 +03:00
Ivan Molodetskikh ce501bca9e tests: Add layer-shell scaffolding and an overflow test 2025-07-13 12:59:01 +03:00
Ivan Molodetskikh 45e9bb769d Update deps & Smithay (layer-shell overflows fix) 2025-07-13 12:58:52 +03:00
Ivan Molodetskikh dfb3683187 Fix new Clippy warnings 2025-07-13 12:54:03 +03:00
Ivan Molodetskikh ce9ba00d54 Implement ext-workspace 2025-07-13 11:43:59 +03:00
Ivan Molodetskikh 37458d94b2 Bump xcursor version in Cargo.toml too 2025-06-24 21:52:04 +03:00
Ivan Molodetskikh 044f14f8f9 Update xcursor (fixes regression in last update) 2025-06-24 21:47:39 +03:00
Ivan Molodetskikh 4c02f3bba4 Update dependencies 2025-06-23 16:12:45 +03:00
Ivan Molodetskikh b55a80c641 Update Smithay 2025-06-23 16:12:45 +03:00
Nikolay Yakimov e0b0b04b44 Expose libinput Button Scrolling Button Lock Enabled property 2025-06-19 05:05:47 -07:00
Baily ed14e8da84 Fix typos (#1822)
* Fix: Correct typo in xwayland module and update documentation

This commit includes several improvements:

1.  **Code Fix (clippy):**
    - I corrected a typo in `src/utils/xwayland/mod.rs` from `OFlags::WRONGLY` to `OFlags::WRONLY`. This was identified by `clippy` during the build process.

2.  **Documentation Updates:**
    - **README.md**:
        - I clarified the sentence about finding help in the Matrix channel to be more inviting for new users.
        - I corrected a future date typo in the Media section for an interview (June 2025 to June 2024).
    - **wiki/Getting-Started.md**:
        - I changed the Russian month "мая" to "May" in an example output for better international readability.
        - I improved keybinding notation for monitor focus/move keys (e.g., Mod+Shift+H / J / K / L) to avoid ambiguity.
        - I updated `apt-get` to `apt` in Ubuntu dependency installation commands for modern practice.

No new typos were found by `typos-cli` in this pass.

* Revert README&GS.md to previous version

* Apply rustfmt

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-06-18 08:49:47 +03:00
Nicolaos Skimas e53f8527b0 Add backlight adjustment keys to default config (#1824)
* Support backlight adjustment keys in default config

* Update resources/default-config.kdl

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-06-17 06:37:00 +00:00
Ivan Molodetskikh da3dc913a6 README: Link a new video and podcast 2025-06-16 14:59:08 +03:00
Ivan Molodetskikh f3f6e79eec Return app ids with ".desktop" appended to Shell.Introspect
This isn't the correct solution, but it seems to work often enough for window
icons in the screencast dialog.
2025-06-13 09:55:08 +03:00
Ivan Molodetskikh 83ec369536 layout/scrolling: Take unfullscreen view offset unconditionally
It might get set and unset all while the view is frozen with a gesture.
2025-06-13 08:54:59 +03:00
Ivan Molodetskikh 97dfd2b1a0 screenshot_ui: Move selection with a second touch too 2025-06-12 21:17:25 +03:00
Anselm Schüler 730eab09fb default-config.kdl: add repeat=false to close-window 2025-06-12 07:25:31 -07:00
Ivan Molodetskikh a23ce10311 screenshot_ui: Move selection when holding Space 2025-06-12 15:24:49 +03:00
Ivan Molodetskikh 2f18d8e328 Implement move-column/window-to-monitor actions for the screenshot UI 2025-06-12 08:56:52 +03:00
Ivan Molodetskikh 7aec37f5c9 Extract output_left/right/up/down/previous/next_of() 2025-06-11 21:09:55 +03:00
Andrew Davis 07080a0431 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.
2025-06-11 02:40:36 -07:00
Ivan Molodetskikh aa47223c19 Upgrade deps and Smithay (cursor-shape v2) 2025-06-11 10:21:17 +03:00
Illia Ostapyshyn 10a6d6ae45 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>
2025-06-11 06:28:03 +00:00
Nathan 7db864d203 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.
2025-06-11 06:18:26 +00:00
sashomasho 8d7b22d1a8 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-11 06:05:14 +00:00
Ivan Molodetskikh 0407ac5e4c 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-10 17:03:32 +03:00
Ivan Molodetskikh a18d24fc24 Don't forget to update insta snapshots 2025-06-09 16:13:40 +03:00
Ivan Molodetskikh 2bacc80c93 default-config: Make sample gradients more obvious 2025-06-09 14:40:31 +03:00
Ivan Molodetskikh c91638c12e default-config: Clarify focus-ring inactive-color 2025-06-09 14:27:50 +03:00
Ivan Molodetskikh f8a0c9df2c default-config: Clarify that input settings are not defaults 2025-06-09 14:25:30 +03:00
Ivan Molodetskikh 6bab912383 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-09 14:04:56 +03:00
Ivan Molodetskikh 3edb8fd906 layout/scrolling: Take parent area into account for popup unconstraining 2025-06-09 13:52:18 +03:00
Ivan Molodetskikh c9b1514d63 layout/scrolling: Store parent_area in ScrollingSpace 2025-06-09 13:43:28 +03:00
Ivan Molodetskikh 2066737024 layout/scrolling: Inline popup_target_rect up to ScrollingSpace 2025-06-09 13:39:55 +03:00
Ivan Molodetskikh f918eabe6a Implement xwayland-satellite integration 2025-06-07 13:12:50 -07:00
Ivan Molodetskikh 0698f167e5 Update generate-rpm version 2025-06-07 23:03:01 +03:00
Ivan Molodetskikh 242ebf2945 wiki: Add Since to hide-not-bound 2025-06-05 11:42:32 +03:00
Ivan Molodetskikh 9858599ac1 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-04 09:40:22 +03:00
Kent Daleng abac28a65c 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>
2025-06-03 20:31:18 +03:00
Gwen a7186a0441 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-03 15:56:21 +00:00
Ivan Molodetskikh 1911cf3f55 wiki/Xwayland: Remove the scary "experimental" word from xwl-s 2025-06-01 19:22:17 +03:00
Ivan Molodetskikh 09da884cd8 README: Update Configuration link 2025-06-01 09:56:28 +03:00
Ivan Molodetskikh 8ba57fcf25 Bump version to 25.05.1 v25.05.1 2025-05-25 08:45:41 +03:00
Ivan Molodetskikh 126ca37d96 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-25 08:43:27 +03:00
Ivan Molodetskikh e6bd60fbb1 wiki: Remove note about numlock issue
It's been fixed.
2025-05-25 08:36:33 +03:00
Ivan Molodetskikh a605a3f016 Account for hidden pointer in move_cursor() 2025-05-23 23:08:51 +03:00
Ivan Molodetskikh ef44adea69 Set pointer contents straight to nothing when disabling pointer 2025-05-23 23:08:51 +03:00