gerritdevriese / kzones

KDE KWin Script for snapping windows into zones
https://store.kde.org/p/1909220
GNU General Public License v3.0
238 stars 14 forks source link

Where/how are zone names used? #73

Open imthenachoman opened 4 weeks ago

imthenachoman commented 4 weeks ago

In the README.md layouts example, each zone in a layout has a "name" property. Where/how is that used?

[
    {
        "name": "Layout 1",
        "padding": 10,
        "zones": [
            {
                "name": "1",  <------- THIS
                "x": 0,
                "y": 0,
                "height": 100,
                "width": 25
            },
            {
                "name": "2",
                "x": 25,
                "y": 0,
                "height": 100,
                "width": 50
            },
            {
                "name": "3",
                "x": 75,
                "y": 0,
                "height": 100,
                "width": 25
            }
        ]
    }
]