rounded-window-corners icon indicating copy to clipboard operation
rounded-window-corners copied to clipboard

A gnome-shell extensions that try to add rounded corners for all windows

Rounded Window Corners

A gnome-shell extensions that try to add rounded corners for all windows

Features

  • Works with Gnome 40/41/42
  • Custom border radius and clip paddings for windows
  • Black list for applications which draw window decoration itself
  • Custom shadow for rounded corners windows
  • Skip libadwaita / libhandy application
  • Superelliptical shape for rounded corners, thanks to @YuraIz
  • A simple reset preferences dialog

Compatibility

  • Compiz alike magic lamp effect

    Hide shadow when magic lamp effect running. Need to restart (disable then enable) this extension when Compiz alike magic lamp effect enabled.

Notes

  • The rounded corners effect for window is base on this shader from mutter project
  • The TypeScript support for GJS is power by gi.ts

Screenshots

2022-07-29 23-49-57

Installation

From Ego

Install extensions from here.

From source code

It will install extensions to ~/.local/share/gnome-shell/extensions

git clone https://github.com/yilozt/rounded-window-corners
cd rounded-window-corners
yarn install
yarn ext:install

From Releases / Github Actions

Download extensions pack from Releases Page, or download git version from Github Actions. After download extensions pack, you need use gnome-extensions to install it, then restart gnome-shell to enable this extensions.

gnome-extensions install [email protected]

Development

Build

yarn build 

Watch files

Build and install extensions when files in src folder changed.

yarn dev

Test in Virtual Box by Vagrant

Need to install Vagrant and Virtual Box. This command will setup a virtual machine that enable log of extensions in terminal.

yarn vm