nclarius / tile-gaps

KWin script to add space around windows touching a screen edge or other window
https://store.kde.org/p/1619642
GNU General Public License v3.0
104 stars 16 forks source link

Always gaps around maximized windows #5

Closed Peter-Ries closed 2 years ago

Peter-Ries commented 2 years ago

Hi, thanks for your very useful script first.

I have always a gap around maximized windows, no matter if checkbox in config is set or not. I aso reloaded by unchecking/rechecking the script in KWin scripts configuration.

Any Idea? Thanks.

most current versopn of your script from today Jan. 26th cat main.xml

<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
                          http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
    <kcfgfile name=""/>
    <group name="">
        <entry name="gapTop" type="int">
            <label>Size of the gap between a window and the top screen edge</label>
            <default>12</default>
        </entry>
        <entry name="gapLeft" type="int">
            <label>Size of the gap between a window and the left screen edge</label>
            <default>12</default>
        </entry>
        <entry name="gapMid" type="int">
            <label>Size of the gap between adjacent windows</label>
            <default>12</default>
        </entry>
        <entry name="gapRight" type="int">
            <label>Size of the gap between a window and the right screen edge</label>
            <default>12</default>
        </entry>
        <entry name="gapBottom" type="int">
            <label>Size of the gap between a window and the bottom screen edge</label>
            <default>12</default>
        </entry>
        <entry name="includeMaximized" type="bool">
            <label>Whether to gap maximized windows</label>
            <default>false</default>
        </entry>
        <entry name="tolerance" type="int">
            <label>Divergence margin within which to consider windows tiled</label>
            <default>24</default>
        </entry>
        <entry name="excludeMode" type="bool">
            <label>Whether to gap all except the specified applications</label>
            <default>true</default>
        </entry>
        <entry name="includeMode" type="bool">
            <label>Whether to gap no except the specified applications</label>
            <default>false</default>
        </entry>
        <entry name="excludedApps" type="string">
            <label>List of applications to be excluded</label>
            <default></default>
        </entry>
        <entry name="includedApps" type="string">
            <label>List of applications to be included</label>
            <default></default>
        </entry>
    </group>
</kcfg>
nclarius commented 2 years ago

Thanks for the hint; it should be fixed now.

Peter-Ries commented 2 years ago

Thanks for the quick fix, now it works!

(needed to re-login to see the fix...)

nclarius commented 2 years ago

That's good to hear.

I think disabling and reenabling the script also works.