Skip to content

feat: switch windows - #16

Closed
soderluk wants to merge 5 commits into
mainfrom
feat/switch-windows
Closed

feat: switch windows#16
soderluk wants to merge 5 commits into
mainfrom
feat/switch-windows

Conversation

@soderluk

@soderluk soderluk commented Nov 8, 2025

Copy link
Copy Markdown
Owner

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.

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
soderluk force-pushed the feat/switch-windows branch 2 times, most recently from 815382b to ade3ba2 Compare November 16, 2025 13:19
Add the new command mention in the README.md and
update the niri config example.
@soderluk
soderluk force-pushed the feat/switch-windows branch from ade3ba2 to 8a838b6 Compare November 16, 2025 13:20
@soderluk

Copy link
Copy Markdown
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.

@soderluk

Copy link
Copy Markdown
Owner Author

Implemented custom launcher and launcher options in upcoming version. Closing this PR.

@soderluk soderluk closed this Dec 17, 2025
@soderluk
soderluk deleted the feat/switch-windows branch December 17, 2025 07:54
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