{"id":13441176,"url":"https://github.com/yilozt/rounded-window-corners","last_synced_at":"2025-03-20T11:37:23.007Z","repository":{"id":49555879,"uuid":"517713181","full_name":"yilozt/rounded-window-corners","owner":"yilozt","description":"A gnome-shell extensions that try to add rounded corners for all windows","archived":false,"fork":false,"pushed_at":"2024-07-28T18:31:21.000Z","size":505,"stargazers_count":456,"open_issues_count":75,"forks_count":48,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-08-01T03:33:24.073Z","etag":null,"topics":["gjs","gnome","gnome-shell-extension","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yilozt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-25T15:08:15.000Z","updated_at":"2024-07-26T10:47:45.000Z","dependencies_parsed_at":"2024-06-22T19:45:07.554Z","dependency_job_id":null,"html_url":"https://github.com/yilozt/rounded-window-corners","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yilozt%2Frounded-window-corners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yilozt%2Frounded-window-corners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yilozt%2Frounded-window-corners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yilozt%2Frounded-window-corners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yilozt","download_url":"https://codeload.github.com/yilozt/rounded-window-corners/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221759943,"owners_count":16876322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gjs","gnome","gnome-shell-extension","typescript"],"created_at":"2024-07-31T03:01:30.769Z","updated_at":"2024-10-28T01:30:14.708Z","avatar_url":"https://github.com/yilozt.png","language":"TypeScript","funding_links":[],"categories":["HarmonyOS","TypeScript"],"sub_categories":["Windows Manager"],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eRounded Window Corners\u003c/h1\u003e\n  \u003cp\u003e\u003ci\u003eA gnome-shell extensions that try to add rounded corners for all windows\u003c/i\u003e\u003c/p\u003e\n  \u003ca href=\"https://extensions.gnome.org/extension/5237/rounded-window-corners/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Install%20from-extensions.gnome.org-4A86CF?style=for-the-badge\u0026logo=Gnome\u0026logoColor=white\"/\u003e\n  \u003c/a\u003e  \n\u003c/div\u003e\n\n## Features\n\n- Works with Gnome 40+\n- Custom border radius and clip paddings for windows\n- Black list for applications which draw window decoration itself\n- Custom shadow for rounded corners windows\n- Skip libadwaita / libhandy application\n- [Superelliptical][1] shape for rounded corners, thanks to [@YuraIz][2]\n- A simple reset preferences dialog\n\n## Compatibility\n\n- [_Compiz alike magic lamp effect_][3]\n  \n  Hide shadow when magic lamp effect running.\n  Need to restart (disable then enable) this extension when\n  _Compiz alike magic lamp effect_ enabled. \n\n## Notes\n\n- The rounded corners effect for window is base on this [shader][4] from\n  mutter project\n- The TypeScript support for GJS is power by [gi.ts][5]\n\n## Screenshots\n\n![2022-07-29 23-49-57][6]\n\n\n## Installation\n\n### From Ego\n\nInstall extensions from [here][7].\n\n### From source code\n\nIt will install extensions to `~/.local/share/gnome-shell/extensions`,\nneed to install `yarn`, Node.js and `gettext`\n\n```bash\ngit clone https://github.com/yilozt/rounded-window-corners\ncd rounded-window-corners\nyarn install \u0026\u0026 yarn ext:install\n```\n\nIn NixOS, you can use `nix-shell` to enter a development shell before\nrun `yarn install`.\n\nYou may need to install those packages when building this extensions. Feel free\nto open issues if you got error.\n\n```bash\nsudo pacman -S nodejs yarn gettext                      # Arch Linux\nsudo apt install nodejs yarnpkg gettext                 # Ubuntu\nsudo dnf install nodejs yarnpkg gettext gettext-devel   # Fedora\n```\n\n### From Releases / Github Actions\n\nDownload extensions pack from [Releases][8] Page, or download git version from\n[Github Actions][9]. After download extensions pack, you need use\n`gnome-extensions` to install it, then restart gnome-shell to enable this\nextensions.\n\n[![release-badge][10]][8]\n[![pack-padge][11]][9]\n\n```bash\ngnome-extensions install rounded-window-corners@yilozt.shell-extension.zip\n```\n\n## Translations\n\n[![weblate-state][12]][13]\n\nYou can help translate this extensions by using [Weblate][13], or update po\nfiles then open a pull request.\n\nTo add new translations for extensions, you can add `.po` files in `po`\ndirectory via `msginit`, then use your favorite text editor to edit it.\n\n```bash\ncd po \u0026\u0026 msginit   # Add po file for new translations\n```\n\nYou can run `yarn ext:install` or `yarn dev` to install extensions with with\nnew translations. In XOrg sessions, just press `Alt + F2 -\u003e r` to restart\ngnome-session then preview the result. In Wayland session, have to logout\nsession then login again to reload extensions.\n\n`yarn dev` will watch changes of `.po` files, once you have update translations,\nit will compile and install extensions automatically.\n\n## Development\n\n### Build\n\n```bash\nyarn build \n```\n\n### Watch files\n\nBuild and install extensions when files in `src` folder changed.\n\n```\nyarn dev\n```\n\n### Test in Virtual Box by Vagrant\n\nNeed to install [`Vagrant`](https://github.com/hashicorp/vagrant) and\nVirtual Box. This command will setup a virtual machine that enable log of\nextensions in terminal.\n\n```\nyarn vm\n```\n\n\u003c!-- links --\u003e\n\n[1]: https://en.wikipedia.org/wiki/Superellipse\n[2]: https://github.com/YuraIz\n[3]: https://extensions.gnome.org/extension/3740/compiz-alike-magic-lamp-effect/\n[4]: https://gitlab.gnome.org/GNOME/mutter/-/blob/main/src/compositor/meta-background-content.c#L138\n[5]: https://gitlab.gnome.org/ewlsh/gi.ts\n[6]: https://user-images.githubusercontent.com/32430186/181902857-d4d10740-82fe-4941-b064-d436b9ea7317.png\n[7]: https://extensions.gnome.org/extension/5237/rounded-window-corners/\n[8]: https://github.com/yilozt/rounded-window-corners/releases\n[9]: https://github.com/yilozt/rounded-window-corners/actions/workflows/pack.yml\n[10]: https://img.shields.io/github/v/release/yilozt/rounded-window-corners?style=flat-square\n[11]: https://img.shields.io/github/actions/workflow/status/yilozt/rounded-window-corners/pack.yml?branch=main\u0026style=flat-square\n[12]: https://hosted.weblate.org/widgets/rounded-window-corners/-/rounded-window-corners/multi-auto.svg\n[13]: https://hosted.weblate.org/engage/rounded-window-corners/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyilozt%2Frounded-window-corners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyilozt%2Frounded-window-corners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyilozt%2Frounded-window-corners/lists"}