gerritdevriese / kzones

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

Overlapping zone indicator offset #102

Open spacekatia opened 2 months ago

spacekatia commented 2 months ago

A i've been messing around with this plugin, i've come across the need to have two zones whose centers overlap. Naturally, i tried the method outlined in #1 but the indicator JSON object seems to not be evaluated.

I'm on

so i'm wondering if this just didn't get make the jump across plasma versions or of i'm going at this all wrong.

Either way, this is one of the most useful KDE plugins for me - thank you for the excellent work :>

gerritdevriese commented 2 months ago

This option was scrapped a while ago, but I'll re-add for you in the next version 🙂

gerritdevriese commented 2 weeks ago

Not sure if you still need this, but you can now specify the position of the indicator

Maybe it's a bit overkill but I think now you can move the indicator anywhere you want.

For example to move it 50 pixels down:

{
    "x": 0,
    "y": 0,
    "height": 100,
    "width": 25,
    "indicator": {
        "margin": {
            "top": 50
        }
    }
}