flexagoon / rounded-window-corners

A GNOME extension that adds rounded corners to all windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2022-07-29 23-49-57

Rounded Window Corners Reborn

A GNOME extension that adds rounded corners to all windows

This is the fork of the original rounded-window-corners extension by @yilozt, which is no longer maintained.

Features

  • Works with Gnome 46+
  • Custom border radius and clip paddings for windows
  • Blocklist for applications that draw their own window decorations
  • Custom shadow for windows with rounded corners
  • Option to skip libadwaita / libhandy application
  • Superelliptical shape for rounded corners, thanks to @YuraIz
  • A simple reset preferences dialog

Compatibility

  • Compiz alike magic lamp effect

    This extension automatically hides the shadow when the magic lamp effect is running. You need to restart (disable then enable) this extension after enabling Compiz alike magic lamp effect.

Notes

  • The rounded corner effect for windows is based on this shader from mutter project
  • TypeScript support for GJS is powered by gjsify

Installation

From pre-built archives

If you want to install the latest commit of the extension, you can get a pre-built archive from GitHub Actions.

  1. Sign in to GitHub.
  2. Go to the build action page
  3. Click on the latest workflow run
  4. Download the extension from the "artifacts" section at the bottom
  5. Install it with the gnome-extensions install command

From source code

  1. Install the dependencies:

    • Node.js
    • npm
    • gettext
    • just

    Those packages are available in the repositories of most linux distros, so you can simply install them with your package manager.

  2. Build the extension

    git clone https://github.com/flexagoon/rounded-window-corners
    cd rounded-window-corners
    just install

After this, the extension will be installed to ~/.local/share/gnome-shell/extensions.

From unofficial AUR packages on Arch Linux

If you use Arch, by the way, you can also install from the provided AUR packages using paru or yay. Two packages are available:

Installation:

paru gnome-shell-extension-rounded-window-corners-reborn

Note these packages are not official.

Translation

You can help with the translation of the extension by submitting translations on Weblate

Translation status

You can also manually edit .po files and submit a PR if you know how to do that.

Development

Here are the avaliable just commands (run just --list to see this message):

Available recipes:
    build   # Compile the extension and all resources
    clean   # Delete the build directory
    install # Build and install the extension from source
    pack    # Build and pack the extension
    pot     # Update and compile the translation files

About

A GNOME extension that adds rounded corners to all windows

License:GNU General Public License v3.0


Languages

Language:TypeScript 95.8%Language:GLSL 2.6%Language:Just 1.2%Language:CSS 0.4%