Commit Graph

2481 Commits

Author SHA1 Message Date
athul-krishna-kr c8eea8ee9d backend/tty: Consider only primary node in drm udev event 2025-10-19 16:01:37 +03:00
Lin Xianyi 23cd5aa78a Add --path argument for niri msg screenshot* commands (#2126)
* Check for empty screenshot parent before creating

Avoids a warning.

* Add --path argument for niri msg screenshot* commands

* fix

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-10-19 14:22:31 +03:00
Ivan Molodetskikh 8c8447918f Add login1 LidClosed monitoring 2025-10-18 09:14:57 +03:00
Ivan Molodetskikh a4f5c90cf0 Extract set_lid_closed() 2025-10-18 09:14:57 +03:00
Mykyta Onipchenko 79cdbc5748 feat(move-floating-window): percentage change (#2371)
* feat: add percentage change to move-floating-window

* fixes

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-10-18 05:39:50 +00:00
ArijanJ d31a90edb0 Redraw cursor if hidden during screenshot 2025-10-18 08:02:26 +03:00
Yuri Pieters 8eeb7dd27e wiki: fix list in tab-indicator section 2025-10-18 07:48:45 +03:00
Ivan Molodetskikh ada6e844ba tty: Retry adding device on change
On my laptop, sometimes the initial addition of the dGPU fails for some
reason.
2025-10-17 18:03:21 +03:00
Ivan Molodetskikh b38df2d1c8 tty: Improve debug messages 2025-10-17 17:33:27 +03:00
Ivan Molodetskikh 2776005c5f niri.spec: Just skip the par fd limit tests 2025-10-15 13:27:11 +03:00
Ivan Molodetskikh ff09f7a558 niri.spec: Also set --test-threads=2
For some reason it's not enough?
2025-10-15 13:06:55 +03:00
Ivan Molodetskikh c27191ac64 niri.spec: Bring back RAYON_NUM_THREADS limit
Until we figure out how to bump the fd limits.
2025-10-15 12:30:39 +03:00
Ivan Molodetskikh c482b446a9 wiki: Mention windowed fullscreen on fullscreen and maximize page 2025-10-15 12:08:07 +03:00
Ivan Molodetskikh 1dd82a8dcf wiki: Add missing Since annotations 2025-10-15 12:07:58 +03:00
Ivan Molodetskikh 755aaac039 wiki: Really fix images 2025-10-15 09:24:47 +03:00
Ivan Molodetskikh 2d67ff8dc3 wiki: Fix images
GitHub is making this harder than necessary
2025-10-15 09:14:27 +03:00
Ivan Molodetskikh 32d7323570 wiki: Document fullscreen and maximize 2025-10-15 09:04:16 +03:00
Ivan Molodetskikh 536204fd82 layout: Make resizing actions unmaximize
I feel this is more intuitive compared to them doing nothing. True
maximize is kinda similar to full-width in spirit, so make the actions
behave the same.
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh e1fad994da Implement maximize-to-edges (true Wayland maximize) 2025-10-15 09:04:16 +03:00
Ivan Molodetskikh e5d4e7c1b1 layout/monitor: Make between-workspace insert hint narrower
I've got feedback that full-width hint looks like the window will be
maximized on the new workspace.
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh e420bb5ad7 layout/tile: Fade out border for fullscreen 2025-10-15 09:04:16 +03:00
Ivan Molodetskikh 4cb4d0fa92 layout/tile: Fade out shadow for fullscreen 2025-10-15 09:04:16 +03:00
Ivan Molodetskikh 1cede8922f layout/tile: Fade out focus ring for fullscreen 2025-10-15 09:04:16 +03:00
Ivan Molodetskikh 80c22b805e layout: Fix anim jump when releasing interactive move in the overview
Probably the tile window loc wasn't zoomed when it should. But also the
interactive move grab case doesn't consider the window loc at all, which
seems to work ok, so let's do that until a problem is found with it.
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh ad3847fad9 layout: Unfullscreen before removing for interactive move
Several reasons for this:

- Remove the sizing code from interactive move duplicated with
  toggle_window_floating.
- Make the tiled size restore too instead of requesting 0x0 (which
  doesn't work for windows in the Tiled state).
2025-10-15 09:04:16 +03:00
Ivan Molodetskikh 9bd860b393 Extract with_toplevel_last_uncommitted_configure() 2025-10-15 09:04:16 +03:00
Ivan Molodetskikh dd1ec83afa tests/floating: Add more edge cases 2025-10-15 09:04:16 +03:00
Ivan Molodetskikh 5ad3d661f0 tests/floating: Extract set_up_with_config() 2025-10-15 09:04:16 +03:00
Trevor Campbell 87dc96fa69 Add topic regarding managing external displays using Kanshi to FAQ 2025-10-14 10:18:22 +03:00
Ivan Molodetskikh ba6e5e082a Upgrade dependencies 2025-10-02 12:00:53 +03:00
Szybet 03c564736a Support calibration-matrix in touch input config 2025-10-02 10:27:09 +03:00
Tim Ruffing 1b41ef146d wiki: Recommend pick-window instead of focused-window
focused-window is only useful for querying terminal windows
(unless combined with sleep or similar tricks.)
2025-10-02 10:14:23 +03:00
Ivan Molodetskikh 640e2b08a8 config: Rename tracy span parse => decode config file 2025-10-02 10:02:36 +03:00
Shaun Ren 5c91e3191d tty: Add support for disabling DRM devices 2025-10-02 10:02:16 +03:00
Shaun Ren b7f1e382a2 tty: Close DRM device session fd in device_removed()
Same logic as in cosmic-comp.
2025-10-02 10:02:16 +03:00
Ivan Molodetskikh e5b0662f48 wiki/include: Document border special case 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh 39339032ce wiki: Document config includes 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh a250fcf252 config: Add a nicer error for recursive includes
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-02 09:38:17 +03:00
Ivan Molodetskikh 24b3cbfe55 config: Remove now-redundant m_replace!() 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh c0f19d48fa config: Add merging for Input 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh 31f9577df9 config: Add merging for Animations 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh 2eabc22b38 config: Add merging for Gestures 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh 2de34e8798 config: Add merging for misc sections 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh ceaf9408a5 config: Add merging for Debug 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh eff41ab716 config: Add merging for SwitchBinds 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh 0673260249 utils/watcher: Support config includes 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh 0a33dca5fd utils/watcher: Extract Props 2025-10-02 09:38:17 +03:00
Ivan Molodetskikh b3ae3adbb7 Partially implement config includes
Subsequent commits will add merging for all leftover sections.
2025-10-02 09:38:17 +03:00
Ivan Molodetskikh 264289cd41 wiki: Document per-output and per-workspace layout overrides 2025-10-02 09:33:08 +03:00
Ivan Molodetskikh f975672255 Add layout overrides to window_opening test 2025-10-02 09:33:08 +03:00