auto sizing gaps, with each window added to a workspace gaps are adjusted. i made this script as for using my ultrawide monitor so things like single workspace's with a single application will render in a more readable way
download and install python-i3ipc
download/copy file ending in .py extention from
creat(file.py) or copy downloaded file somewhere safe, i use /home/user/.config/sway/scripts/script.py
chmod +x /path/to/script.py
add exec python /path/to/script.py
to your sway config.
login into sway, profit.
customise by adding more windows or adjusting hoz, ver and inner values within the .py file.
also notifcations can be enabled within the script for depugging.