app-id rules

This commit is contained in:
Zhongheng Liu 2026-01-10 20:57:21 +01:00
commit 17f6061ff2
Signed by: steven
GPG key ID: 805A28B071DAD84B
2 changed files with 6 additions and 3 deletions

View file

@ -27,7 +27,10 @@ static const Rule rules[] = {
/* examples:
{ "Gimp_example", NULL, 0, 1, 0, -1 },
*/
{ "firefox_example", NULL, 1 << 8, 0, 1, -1 },
{ "firefox-developer-edition", NULL, 1 << 8, 0, 1, -1 },
{ "idea", NULL, 1 << 0, 0, 1, -1},
{ "vesktop", NULL, 1 << 1, 0, 1, -1 },
{ "thunderbird", NULL, 1 << 2, 0, 1, -1 }
};
/* layout(s) */
@ -50,7 +53,7 @@ static const MonitorRule monrules[] = {
{ "HDMI-A-1", 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
//
/* defaults */
{ NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
{ NULL, 0.55f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
};
/* keyboard */