Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.48 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.48 KB

windowframer

windowframer is a python utility that takes care of drawing border images compatible with the sway-borders project.

Currently only one frame type is implemented, though additional types can be implemented easily.

frame type produces supports shadow window status indicator
rounded - square corners
- round corners
- rounded square corners
yes line all around the border

Each frame type has its own settings, use --help after specifying the type to list all available options.

installation

windowframer depends on python3 and the pycairo library.
After installing the dependencies, clone the repo and make the "windowframer.py" script executable.

usage

general usage

./windowframer.py <output_file> <frame_type> {specific_frame_parameters} [{optional_frame_parameters}]

example:

./windowframer.py test.png rounded --shadow_spread 4 5 0.4 #2E3440

get help about a frame type

./windowframer.py <output_file> <frame_type> --help

example:

./windowframer.py test.png rounded --help

NOTICE: When using --help, nothing is really written to the specified output file.