Spydr06 / xcorners

A small utility for drawing rounded screen corners on X11
MIT License
29 stars 0 forks source link

xcorners

A small utility to draw rounded screen corners on X11 window managers.

xcorners with polybar on bspwm: demo.png

Usage

$ xcorners --help
Usage: ./xcorners [OPTIONS]

Options:
  -W <width>    Set the horizontal space between the corners. [3000]
  -H <height>   Set the vertical space between the corners. [1920]
  -x <offset>   Set the horizontal offset. [0]
  -y <offset>   Set the vertical offset. [0]
  -r <radius>   Set the corner radius. [12]
  -t, -T        Enable or disable top corners. [enabled]
  -b, -B        Enable or disable bottom corners. [disabled]
  -c <color>    Set the corner color. [000000ff]
  -1            Only allow one instance.
  -h, --help    Print this help text and exit.

[!IMPORTANT] If you experience issues with (partially) black screens, you'll need to enable a transparancy-capable x11 compositor.

Example usage: My bspwm and sxhkd configuration.

Install

Dependencies:

Building:

After you cloned the repository, use make to build xcorners:

$ make

If successful, this creates the executable ./xcorners.

Installation:

# make install

This installs xcorners to /usr/bin, if you want another prefix, set it using PREFIX="" or EXEC_PREFIX="".

TO-DO

If you encounter bugs, have more ideas or want to expand the functionality, feel free to open an issue or pull request :D

License

xcorners is licensed under the MIT License. See ./LICENSE or the source for more information.