A MacOS utility for toggling corners/corner radii to eliminate gaps between windows and corners of screen.
Install latest version of spear and run:
git clone https://github.com/AvaCaine/spear.git
cd spear
chmod +x sharp-corners-on
chmod +x sharp-corners-off
chmod +x setup.sh
./setup.sh
cdTry Spear with Omachy (not to be confused with omarchy) Omachy feels like hyprland/is a configuration of aerospace coming with a neat custom top bar. Turns the desktop into what feels like an entirely different desktop environment. Omachy doesn't customize borders. Try Spear with it!
(Omachy)[https://omachy.org/]
Install Omachy with this command:
brew tap dough654/omachy && brew install omachy && omachy installCopy the following and add it to your terminal config (~/.zshrc or ~/.bashrc):
spear() {
if [ "$1" = "radius" ] && [ "$2" -ge 1 ] && [ "$2" -le 50 ] 2>/dev/null; then
~/spear/scripts/rad-"$2".sh
else
echo "Usage: spear radius <1-50>"
fi
}If you are using Fish shell (~/.config/fish/config.fish), use this syntax instead:
function spear
if test "$argv[1]" = "radius"; and test "$argv[2]" -ge 1 2>/dev/null; and test "$argv[2]" -le 50 2>/dev/null
~/spear/scripts/rad-$argv[2].sh
else
echo "Usage: spear radius <1-50>"
end
endDon't worry about how floating windows will look; when a window is tiled to fill, it is still classified as floating, hence, the rounding persists. Spear is a simple utility that removes macOS's aggressive rounding. Spear leaves just enough rounding that it isn't visible when a window is half-maximized/set to fill (not to be confused with maximize, which will hide gaps regardless and remove rounding). If the window is shrunk or floating and not taking up all space, there will still be just a tiny bit of rounding—nothing too visible, but enough to keep the window smooth and prevent weird-looking border lines or glitches.
You can choose radius via spear radius followed by intensity (numeric) numbers can range from 1 to 50.
Example: spear radius 8
To disable, simply run:
defaults delete -g NSConvolutionOverride1Run the following command
./uninstall.sh