feat: switch windows - #16
Closed
soderluk wants to merge 5 commits into
Closed
Conversation
Add FromName function that takes the action name and it's JSON data as parameter, and handles the instantiation of the action.
Use the FromName action function when creating the action for moving a floating window.
Add RunCommand function that takes a shell command as parameter, and runs it with sh.
The command gets a list of windows, and spawns a fuzzel dmenu to let the user choose an open window to switch to.
soderluk
force-pushed
the
feat/switch-windows
branch
2 times, most recently
from
November 16, 2025 13:19
815382b to
ade3ba2
Compare
Add the new command mention in the README.md and update the niri config example.
soderluk
force-pushed
the
feat/switch-windows
branch
from
November 16, 2025 13:20
ade3ba2 to
8a838b6
Compare
Owner
Author
|
Since Alt+Tab support was added in the latest Niri release, this PR is redundant. Although running something with Fuzzel or any other launcher would be nice to have. I'll redo this to something else at some point. |
Owner
Author
|
Implemented custom launcher and launcher options in upcoming version. Closing this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for switching windows using fuzzel.
Add new function to run shell commands.
Add new function to instantiate actions using name and map[string]any data.
Update README and example niri config.