An auto-tiling tray application for GlazeWM, provides Master-Stack and Dwindle layouts by default and is extensible with python!
Autotiling.mp4
Custom-Layouts.mp4
- Clone the repository:
git clone https://github.com/orbi-tal/glaze-autotiler.git
cd glaze-autotiler
- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
Download the latest release from the releases page.
- Install PyInstaller:
pip install pyinstaller
- Build the executable:
pyinstaller build.spec
The executable will be created in the dist
directory.
Run the executable or use Python:
glaze-autotiler
# or
python src/autotile/main.py
Use --log to enable verbose logging:
glaze-autotiler --log
# or
python src/autotile/main.py --log
You can select which layout to use from the tray icon menu.
Configuration files and default tiling scripts are stored in %USERPROFILE%\.config\glaze-autotiler\
.
To add a custom layout you can add to the config.json file:
{
"custom_layout": {
"display_name": "My Custom Layout",
"enabled": true
}
}
You can also add a custom script path in:
"script_paths": [
"C:\\Users\\YourUsername\\.config\\glaze-autotiler\\scripts",
"C:\\Custom\\Script\\Path"
]
This project uses several linting and formatting tools:
black
for code formattingisort
for import sortingflake8
for style guide enforcementpylint
for code analysis
To set up the development environment:
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install development dependencies
pip install -r requirements-dev.txt
# Install pre-commit hooks
pip install pre-commit
pre-commit install
# Run all linters
python scripts/lint.py
# Format code
black .
isort .
# Check code without formatting
black --check .
isort --check-only .
flake8
pylint src
This project is licensed under the MIT License - see the LICENSE file for details.
lars-berger for GlazeWM.
ParasiteDelta for the inspiration.
burgr033 for the original autotiler script.
Opposite34 for the Dwindle script.