This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
58 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,57 @@ | ||
# 🚀 Welcome to your new awesome project! | ||
# Extensions Sync | ||
|
||
This project has been created using **webpack scaffold**, you can now run | ||
Syncs gnome shell extensions and their configurations across all gnome installations | ||
|
||
``` | ||
npm run build | ||
``` | ||
![SS](https://i.imgur.com/XfXOQCB.png) | ||
|
||
or | ||
## Installation | ||
|
||
``` | ||
### From [Git](https://github.com/oae/gnome-shell-extensions-sync) | ||
|
||
```bash | ||
git clone https://github.com/oae/gnome-shell-extensions-sync.git | ||
cd ./gnome-shell-extensions-sync | ||
yarn build | ||
ln -s "$PWD/dist" "$HOME/.local/share/gnome-shell/extensions/[email protected]" | ||
``` | ||
|
||
to bundle your application | ||
### From [Ego](extensions.gnome.org) | ||
|
||
- You can install it from link below | ||
https://extensions.gnome.org/extension/1486/extensions-sync/ | ||
|
||
## Usage | ||
|
||
## For Github | ||
|
||
1. Create a new gist from [here](https://gist.github.com/) I suggest you make it secret. | ||
2. Create a new token from [here](https://github.com/settings/tokens/new). Only gist permission is needed since we edit the gists. | ||
3. Open extension settings, select the `Github` provider and fill gist id from first step and user token from second step. | ||
|
||
## For Gitlab | ||
|
||
1. Create a new snippet from [here](https://gitlab.com/snippets/new) I suggest you make it private. | ||
2. Create a new token from [here](https://gitlab.com/profile/personal_access_tokens). Only api scope is needed. | ||
3. Open extension settings, select the `Gitlab` provider and fill snippet id from first step and user token from second step. | ||
|
||
## Development | ||
|
||
- This extension is written in Typescript and uses webpack to compile it into javascript. | ||
- Most dependencies have auto completion support thanks to [this amazing project](https://github.com/sammydre/ts-for-gjs) by [@sammydre](https://github.com/sammydre) | ||
- To start development, you need nodejs installed on your system; | ||
|
||
- Clone the project | ||
|
||
```sh | ||
git clone https://github.com/oae/gnome-shell-extensions-sync.git | ||
cd ./gnome-shell-extensions-sync | ||
``` | ||
|
||
- Install dependencies and build it | ||
|
||
```sh | ||
yarn install | ||
yarn build | ||
``` | ||
|
||
- During development you can use `yarn watch` command to keep generated code up-to-date. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "extensions-sync-x", | ||
"name": "extensions-sync", | ||
"version": "1.0.0", | ||
"author": "Alperen Elhan <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -13,6 +13,7 @@ | |
"build:extension": "yarn run build:schema", | ||
"build:schema": "yarn run clean:schema && glib-compile-schemas ./resources/schemas --targetdir=./dist/schemas/", | ||
"clean:schema": "rm -rf ./dist/schemas/*.compiled", | ||
"build:package": "rm -rf './dist/[email protected]' && cd ./dist && zip -qr '[email protected]' .", | ||
"watch": "yarn run build && yarn run webpack --watch", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"lint": "eslint --ext .ts src/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
{ | ||
"name": "extensions-sync-x", | ||
"description": "extensions-sync-x", | ||
"uuid": "extensions-sync-x@elhan.io", | ||
"name": "Extensions Sync", | ||
"description": "Sync all extensions and their configurations across all gnome instances", | ||
"uuid": "[email protected]", | ||
"version": 5, | ||
"settings-schema": "org.gnome.shell.extensions.extensions-sync", | ||
"url": "https://github.com/oae/gnome-shell-extensions-sync", | ||
"shell-version": ["3.36"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters