From af70bd6d561a2af42ddcdf67c28ede5975c95330 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 19 Jul 2024 11:59:19 -0300 Subject: Rename firefox-chrome-sync to firefox-profile-sync --- README.md | 2 +- TODO.md | 6 +++++- firefox-chrome-sync | 19 ------------------- firefox-profile-sync | 19 +++++++++++++++++++ 4 files changed, 25 insertions(+), 21 deletions(-) delete mode 100755 firefox-chrome-sync create mode 100755 firefox-profile-sync diff --git a/README.md b/README.md index 30ba4e9..5950142 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ profiles. ### Syncing -Use the [firefox-chrome-sync](firefox-chrome-sync) to keep your chrome +Use the [firefox-profile-sync](firefox-profile-sync) to keep your chrome customizations synced for every profile. ### Symlinking diff --git a/TODO.md b/TODO.md index 6da0a9e..ee39795 100644 --- a/TODO.md +++ b/TODO.md @@ -1,4 +1,8 @@ # TODO +* [x] Rename `firefox-chrome-sync` to `firefox-profile-sync`. +* [ ] Document about the long journey to keep Firefox slick and lean: + from themes to Vimperator and other plugins. How the WebExtensions + transition made things really difficult. * [ ] Devise a better way to keep `chrome` customizations synced among all - profiles. Using `firefox-chrome-sync` manually is sub-optimal. + profiles. Using `firefox-profile-sync` manually is sub-optimal. diff --git a/firefox-chrome-sync b/firefox-chrome-sync deleted file mode 100755 index 3b0196a..0000000 --- a/firefox-chrome-sync +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# -# Sync Firefox chrome config -# - -# Parameters -BASEDIR="`dirname $0`" -BASE="$HOME/.mozilla/firefox" -PROFILES="$BASE/profiles" - -# Go to the profiles folder -mkdir -p $PROFILES -cd $PROFILES - -# Dispatch -for profile in *; do - echo "Syncing $profile..." - rsync -q -av --delete $BASEDIR/chrome/ $profile/chrome/ -done diff --git a/firefox-profile-sync b/firefox-profile-sync new file mode 100755 index 0000000..3b0196a --- /dev/null +++ b/firefox-profile-sync @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +# +# Sync Firefox chrome config +# + +# Parameters +BASEDIR="`dirname $0`" +BASE="$HOME/.mozilla/firefox" +PROFILES="$BASE/profiles" + +# Go to the profiles folder +mkdir -p $PROFILES +cd $PROFILES + +# Dispatch +for profile in *; do + echo "Syncing $profile..." + rsync -q -av --delete $BASEDIR/chrome/ $profile/chrome/ +done -- cgit v1.2.3