Skip to content

feat: add floating move command and new model for window layout - #15

Merged
soderluk merged 5 commits into
mainfrom
feat/move-floating-windows
Nov 8, 2025
Merged

feat: add floating move command and new model for window layout#15
soderluk merged 5 commits into
mainfrom
feat/move-floating-windows

Conversation

@soderluk

@soderluk soderluk commented Nov 8, 2025

Copy link
Copy Markdown
Owner

Add new model for window layout.
Add filter functions for windows, workspaces and outputs.
Add support for listing outputs.
Add nirimgr floating move command.

Add new model for WindowLayout and add it to the Window model.

Add WindowSlice, WorkspaceSlice and OutputSlice structs and the
First() receiver functions to get the first element in the slice.
Add the Filter* functions to filter windows, workspaces and outputs, as
well as their corresponding *Chain functions, so you can
get the first element in the slice.
Add ListOutputs function to list all the outputs via
Niri IPC.
Add a new command `floating` and it's sub-command
`move` to move a floating window to the edges of
the screen. Either top/bottom/left/right edge can
be defined.
Bind keys in niri config to run nirimgr floating
move top/bottom/left/right [border].
Update README and add niri config examples file.
@soderluk
soderluk merged commit 9cc051d into main Nov 8, 2025
6 checks passed
@soderluk
soderluk deleted the feat/move-floating-windows branch November 8, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant