Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to set app id from command line #412

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sloonz
Copy link

@sloonz sloonz commented Mar 9, 2025

Currently cage has "wlroots" as its app id. Add a flag to make it configurable.

My use-case : I want some cage instances to be floating, others not to be floating. This patch allows me to do that using for_window in sway config :

for_window {
        [app_id="cage:floating:.*"] floating enable
}

And running cage -i cage:floating:xxx cmd.

@joggee-fr
Copy link
Collaborator

Related to issue #400.
@sloonz, did you try also try to "transfer" app_id from main application just like it is done for title?

@sloonz
Copy link
Author

sloonz commented Mar 13, 2025

I think we want to be able do differentiate between for example a caged chromium and an non-caged chromium ?

@joggee-fr
Copy link
Collaborator

Ping @emersion.
Or is it something that should be set in a WLR_* environment variable for wlroots?

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.

2 participants