gerritdevriese / kzones

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

[Question] How to disable on an individual monitor #18

Closed itz4blitz closed 1 year ago

itz4blitz commented 1 year ago

I'm trying to figure out if there's a way to disable kzones on an individual monitor. Currently I have my layout with a 3 monitor setup. My setup has a 32" center monitor with a 24" monitor in portrait orientationon each side of the monitor in the center:

image

For the outside monitors I created the following Layout 2:

[
    {
        "name": "Layout 1",
        "padding": 0,
        "zones": [
            {
                "name": "1",
                "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
            }
        ]
    },
    {
        "name": "Layout 2",
        "padding": 0,
        "zones": [
            {
                "name": "1",
                "x": 0,
                "y": 0,
                "height": 33,
                "width": 100
            },
            {
                "name": "2",
                "x": 0,
                "y": 33,
                "height": 34,
                "width": 100
            },
            {
                "name": "3",
                "x": 0,
                "y": 66,
                "height": 33,
                "width": 100
            }
        ]
    }

]

I would like the center monitor to either 1) use Layout 1 instead of taking the Layout which I've setup for the outside monitors, or 2) to disable KZones on monitor 1 (if possible). Thanks, and awesome project.

gerritdevriese commented 1 year ago

This is not possible at the moment, but hopefully in the future if and when #4 gets implemented.