Skip to content

nightly-brew/windowframer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages