Skip to content

Allow to set app id from command line#412

Open
sloonz wants to merge 1 commit intocage-kiosk:masterfrom
sloonz:set-app-id
Open

Allow to set app id from command line#412
sloonz wants to merge 1 commit intocage-kiosk:masterfrom
sloonz:set-app-id

Conversation

@sloonz
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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