GithubHelp home page GithubHelp logo

73 / rounded-window-corners Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yilozt/rounded-window-corners

0.0 0.0 0.0 533 KB

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

License: GNU General Public License v3.0

Shell 2.03% JavaScript 10.28% TypeScript 84.13% CSS 0.43% Nix 0.53% GLSL 2.60%

rounded-window-corners's Introduction

Rounded Window Corners

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

Features

  • 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

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, need to install yarn, Node.js and gettext

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 nodejs yarn gettext                      # Arch Linux
sudo apt install nodejs yarnpkg gettext                 # Ubuntu
sudo dnf install nodejs yarnpkg gettext gettext-devel   # Fedora

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.

release-badge pack-padge

gnome-extensions install [email protected]

Translations

weblate-state

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 .po files in po directory via msginit, then use your favorite text editor to edit it.

cd po && msginit   # Add po file for new translations

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. In Wayland session, have to logout session then login again to reload extensions.

yarn dev will watch changes of .po files, once you have update translations, it will compile and install extensions automatically.

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

rounded-window-corners's People

Contributors

yilozt avatar fjuro avatar thejenja avatar vistaus avatar santossi avatar comradekingu avatar aunetx avatar bima0302 avatar craftworksmc avatar hederblz avatar izocha avatar creatorsiso avatar dr3x-0 avatar illekal avatar augustin64 avatar danilo-alm avatar chewbaccaun avatar tenseoverflow avatar bluelhf avatar dasjott avatar marco-kretz avatar nrdsstuff avatar flipflop97 avatar rezaalmanda avatar rgarrido03 avatar velitasali avatar y4kch3ck avatar yuraiz avatar dxps avatar flexagoon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.