gem
is a command-line tool written in bash to backup and manage your Gnome extensions and their configs.
- First, download and install
git
andmake
usnig your package manager. - Then, clone the repo:
git clone https://github.com/gohny/gem
- Change current directory to
gem
:
cd gem
- Install:
sudo make install
https://aur.archlinux.org/packages/gem
- Simply install the
gem
package using your AUR helper.
yay gem
pikaur -S gem
- Install
git
:
sudo pacman -S git
- Clone the repo from AUR:
git clone https://aur.archlinux.org/gem.git
- Change current directory to
gem
:
cd gem
- Install:
makepkg -si
- If you're missing repo files, clone it again:
git clone https://github.com/gohny/gem
- Change current directory to
gem
:
cd gem
- Uninstall:
sudo make uninstall
- Uninstall
gem
withpacman
:
sudo pacman -Rsnu gem
gem [-E|h|i|I]
Options:
{-E} - Export extensions and their configs.
{-h} - Display this message.
{-i} - Soft import. Import extensions and their confings from selected backup, maintaining extensions you currently have installed.
{-I} - Hard import. First remove all extensions you currently have installed, then import extensions and their confings from selected backup.
Backups are stored in your home directory, inside the .gem
directory: ~/.gem/backups/
Backups are named by their ID which is determinated by the date and time of backup creation.
The format is year-month-day_hours-minutes-seconds e.g. 2023-12-12_13-37-04
Created by Gohny