mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 21:32:26 +01:00
Rules for particular applications can be kept in files of their own, applications.json, which komorebi.json names with app_specific_configuration_path: one path or a list. The ignore, manage and floating rules of every application in a file are added to the lists the configuration's own rules go in, so a file can be shared or kept apart from the settings. A path with no file behind it is skipped with a warning, since one komorebi.json is meant to work on every platform and may name a file that only another platform has; a file that is there and is not an applications.json is an error. The titleless and tabbed rules of other platforms are read and do nothing. komorebic/applications.json is a start for Plasma: it floats the calculators, the screenshot tool, the authentication dialog and System Settings. A test opens the windows it names.
12 lines
502 B
JSON
12 lines
502 B
JSON
{
|
|
"KDE Plasma": {
|
|
"floating": [
|
|
{ "kind": "Class", "id": "org.kde.kcalc", "matching_strategy": "Equals" },
|
|
{ "kind": "Class", "id": "org.gnome.Calculator", "matching_strategy": "Equals" },
|
|
{ "kind": "Class", "id": "org.kde.spectacle", "matching_strategy": "Equals" },
|
|
{ "kind": "Class", "id": "org.kde.polkit-kde-authentication-agent-1", "matching_strategy": "Equals" },
|
|
{ "kind": "Class", "id": "org.kde.systemsettings", "matching_strategy": "Equals" }
|
|
]
|
|
}
|
|
}
|