A small utility to draw rounded screen corners on X11 window managers.
$ 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.
If you are using Arch Linux, you can install xcorners
from the xcorners-git
AUR package.
Alternatively, you can build it from source.
Dependencies:
gcc
make
libX11
,libXfixes
,libCairo
(install-dev
or-devel
packages)
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=""
.
- Basic functionality
- Option to not launch when instance is already running
- Automatic screen detection and configuration
- Automatic fullscreen detection
- Bugtesting
If you encounter bugs, have more ideas or want to expand the functionality, feel free to open an issue or pull request :D
xcorners
is licensed under the MIT License. See ./LICENSE or the source for more information.