#How to set precedence for a window with conflicting forced float/manage rules
1 messages · Page 1 of 1 (latest)
You probably need a composite rule to match on more than just one rule
what would that look like? didnt realise you could do composite rules
I set steam as a floating app like this
"floating_applications": [
{
"kind": "Exe",
"id": "steam",
"matching_strategy": "Contains"
}
],
A composite rule would look like this
[
{
"kind": "Exe",
"id":"Ssms.exe",
"matching_strategy": "Equals"
},
{
"kind": "Class",
"id":"WindowsForms10.Window.8.app.0.3f6704d_r20_ad1",
"matching_strategy": "Equals"
},
]
oh i thought you meant composite as in something that could let me say:
"Set all windows of class SDL_app to float, except those with a process steamwebhelper.exe"
thats what i really need
I do not think that is possible, but you should be a ble to set a manage rule for steam, might need to make it composite to have higher priority. not sure
oh, but you have "DoesNotEqual" and "DoesNotContain"
so you can make it like this
[
{
"kind": "Class",
"id":"SDL_app",
"matching_strategy": "Equals"
},
{
"kind": "Exe",
"id":"steamwebhelper.exe",
"matching_strategy": "DoesNotEqual"
},
]
@upbeat steeple this should work, no?
"manage_rules": [
{
"kind": "Exe",
"id": "steamwebhelper.exe",
"matching_strategy": "Equals"
}
],
"floating_applications": [
[
{
"kind": "Class",
"id": "SDL_app",
"matching_strategy": "Equals"
},
{
"kind": "Exe",
"id": "steamwebhelper.exe",
"matching_strategy": "DoesNotEqual"
}
]
]
I also needed to add it in the manage rules on top of that but yes that worked :D