aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-03Use libdisplay-info for make/model/serial parsing, implement throughoutIvan Molodetskikh
2024-09-02Read config from /etc/niri/config.kdl tooIvan Molodetskikh
2024-09-02wiki: Use $NIRI_SOCKET in exampleIvan Molodetskikh
2024-09-02wiki: Fix niri-ipc linksIvan Molodetskikh
2024-09-02wiki: Fix code block formattingIvan Molodetskikh
2024-09-02wiki: Add the word IPC to the sidebarIvan Molodetskikh
2024-09-01wiki: Document IPC programmatic accessIvan Molodetskikh
2024-09-01Implement by-id workspace action addressingIvan Molodetskikh
It's not added to clap because there's no convenient mutually-exclusive argument enum derive yet (to have either the current <REFERENCE> or an --id <ID>). It's not added to config parsing because I don't see how it could be useful there. As such, it's only accessible through raw IPC.
2024-09-01Fix spelling mistakeIvan Molodetskikh
2024-09-01Add niri msg windowsIvan Molodetskikh
2024-09-01Rearrange some CLI and IPC enum valuesIvan Molodetskikh
2024-09-01Change IdCounter to be backed by an AtomicU64Ivan Molodetskikh
Let's see if anyone complains.
2024-09-01Change OutputId::get() to return u64Ivan Molodetskikh
2024-09-01Make WorkspaceId inner field privateIvan Molodetskikh
2024-09-01utils/id: Use a Relaxed atomic opIvan Molodetskikh
2024-09-01Change MappedIt::get() to return u64Ivan Molodetskikh
2024-09-01Implement the event stream IPCIvan Molodetskikh
2024-09-01Animate focus-workspace by idx/back and forth/previousIvan Molodetskikh
Deleting the test because it only made sense when no-animation was special cased.
2024-09-01layout: Cache monitor output nameIvan Molodetskikh
2024-09-01Remove unused functionIvan Molodetskikh
2024-09-01ipc: Read only a single line on the clientIvan Molodetskikh
Allow extensibility.
2024-08-26flake: Remove maintainer commentIvan Molodetskikh
Effectively other contributors maintain it now.
2024-08-26wiki: Add hotkey overlay skip to FAQIvan Molodetskikh
2024-08-26wiki: Mark FAQ snippet as KDLIvan Molodetskikh
2024-08-25fix `cargo run` on nixossodiboo
this boils down to adding some extra dependencies to the shell environment. they're also inherited from craneArgs because the ones from the package are actually transformed into the WRONG outputs of the packages. also refactors to use craneLib.devShell because it's somewhat cleaner.
2024-08-25layout: Break out early on min sizeIvan Molodetskikh
2024-08-25layout: Fix rounding in height distributionIvan Molodetskikh
Rounding before checking min height could artificially increase the window height that we check, leading to an incorrectly satisfied min constraint.
2024-08-25Add niri msg keyboard-layoutsIvan Molodetskikh
2024-08-25layout: Clamp window height to max available in columnIvan Molodetskikh
When the window is alone in its column this logic intentionally isn't triggered. Until we have a floating layer, there's no other way to get a window larger than the screen, which I need.
2024-08-24Rework PW screencast frame timingIvan Molodetskikh
- Remove the 0.5 ms hack. - Add redraw scheduling to fix stuck frame if the last redrawn frame happened too soon.
2024-08-24Update Smithay (layer-shell popup fix)Ivan Molodetskikh
2024-08-23Register deadline timer for closing transactionIvan Molodetskikh
2024-08-23wiki: Update transaction listIvan Molodetskikh
2024-08-23Implement window close transactionIvan Molodetskikh
Mainly visible with disabled animations.
2024-08-23animation: Use saturating_sub in value()Ivan Molodetskikh
2024-08-23animation: Make restarted() take by-refIvan Molodetskikh
2024-08-23Fix screen transition across scale/transform changesIvan Molodetskikh
2024-08-23Extract Niri::update_render_elements()Ivan Molodetskikh
2024-08-23Fix Clippy warningsIvan Molodetskikh
2024-08-23pw_utils: Re-create damage tracker on scale changeIvan Molodetskikh
2024-08-23Add damage check to PW screencastsIvan Molodetskikh
Avoids unnecessary frames.
2024-08-23tty: Wait for sync on needs_sync()Ivan Molodetskikh
How did I never add this back?
2024-08-22Implement resize transactionsIvan Molodetskikh
2024-08-22Implement window resize throttlingIvan Molodetskikh
2024-08-22Update Smithay (apply state in post commit)Ivan Molodetskikh
2024-08-22Handle dmabuf blocker separately in toplevel pre-commitIvan Molodetskikh
Will be needed for transactions.
2024-08-22feature: add on-demand vrr (#586)Michael Yang
* feature: add on-demand vrr * Don't require connector::Info in try_to_set_vrr * Improve VRR help message * Rename connector_handle => connector * Fix tracy span name * Move on demand vrr flag set higher * wiki: Mention on-demand VRR --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-08-15layout: Do not recompute total_weight every iterationIvan Molodetskikh
2024-08-15layout: Implement weighted height distributionIvan Molodetskikh
The intention is to make columns add up to the working area height most of the time, while still preserving the ability to have one fixed-height window. Automatic heights are now distributed according to their weight, rather than evenly. This is similar to flex-grow in CSS or fraction in Typst. Resizing one window in a column still makes that window fixed, however it changes all other windows to automatic height, computing their weights in such a way as to preserve their apparent heights.
2024-08-15layout: Pre-subtract gaps during height distributionIvan Molodetskikh
Same result, but code a bit clearer.