- Works with Gnome 40+
- 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
-
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.
- The rounded corners effect for window is base on this shader from mutter project
- The TypeScript support for GJS is power by gi.ts
Install extensions from here.
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
In NixOS, you can use nix-shell
to enter a development shell before run yarn install
.
You may need to install those packages when building this extensions. Feel free to open issues if you got error.
sudo pacman -S base gnome-shell gtk3 libadwaita gtk4 glib2 gobject-introspection
apt install gnome-shell-common libpolkit-agent-1-dev libmutter-10-dev \
libadwaita-1-dev libgtk-3-dev libgtk-4-dev libgraphene-1.0-dev \
libgirepository1.0-dev libnm-dev libgcr-3-dev gettext
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 rounded-window-corners@yilozt.shell-extension.zip
You can help translate this extensions by using Weblate, or update po files then open a pull request.
To add new translations for extensions, you can add empty .po
file in po
directory, then use yarn po
or yarn dev
to fill it.
touch po/zh_CN.po # replace zh_CN to the locales you want to add
yarn po # auto fill po file
vim po/zh_CN.po # now let's start edit
You can run yarn ext:install
or yarn dev
to install extensions with with new translations. In XOrg sessions, just press Alt + F2 -> r
to restart gnome-session then preview the result.
yarn dev
will watch changes of .po
files, once you have update translations, it will compile and install extensions automatically.
yarn build
Build and install extensions when files in src
folder changed.
yarn dev
Need to install Vagrant
and Virtual Box. This command will setup a virtual machine that enable log of extensions in terminal.
yarn vm