Skip to content

Conversation

jsfr
Copy link
Contributor

@jsfr jsfr commented Feb 2, 2025

This PR introduces a new command to focus a specific container by ID.

This allows to write scripts with the CLI to e.g. focus windows from a specific application.

@jsfr jsfr changed the title feat: add `focus_container_idAdd command to focus container by id feat: add focus_container_id command Feb 2, 2025
@lars-berger
Copy link
Member

Thanks for the PR ❤️ Would def be useful to set specific focus, especially for IPC use cases.

There was a lint that just got added to clippy nightly which I've just put in a fix for (#967). If you sync with the main branch, the lint check flow should pass again 👍

Other than that LGTM

@jsfr
Copy link
Contributor Author

jsfr commented Feb 21, 2025

@lars-berger I've addressed the comments :) Let me know if there's anything else missing.

@lars-berger lars-berger changed the title feat: add focus_container_id command feat: add focus --container-id <id> command Feb 23, 2025
@lars-berger lars-berger merged commit a5b7045 into glzr-io:main Feb 23, 2025
3 checks passed
@lars-berger
Copy link
Member

Perfect 🙌 thank you!

It's looking like the next release will be in 1.5-2 weeks. Doing a big Zebar feature and then I'll do a combined release of GlazeWM+Zebar with this PR included 👍

Miitto pushed a commit to Miitto/glazewm that referenced this pull request Jun 12, 2025
Copy link

🎉 This PR is included in version 3.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 3.9.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants