dotfiles

regexghost dotfiles and scripts
git clone https://git.regexghost.com/dotfiles.git
Log | Files | Refs | README

commit d6fea8bcabc2af4fbebcd488f906ad1622520dc4
parent 62779dc27f532185833e435307b2ca3ad5bfec69
Author: regexghost <dev@regexghost.com>
Date:   Wed,  8 Jul 2026 12:42:51 +0100

firefox install instructions and balance-folders.sh

Diffstat:
Afirefox.md | 36++++++++++++++++++++++++++++++++++++
Mterminal-scripts/Makefile | 1+
Aterminal-scripts/balance-folders.sh | 21+++++++++++++++++++++
3 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/firefox.md b/firefox.md @@ -0,0 +1,36 @@ +# Firefox Setup + +## Extensions + +https://ublockorigin.com/ +https://addons.mozilla.org/en-GB/firefox/addon/cookies-txt/ +https://getindie.wiki/ +https://addons.mozilla.org/en-GB/firefox/addon/videospeed/ +https://addons.mozilla.org/en-GB/firefox/addon/ublacklist/ +https://addons.mozilla.org/en-GB/firefox/addon/imgur-unblock-via-imgup-uk/ + +## Login + +https://www.microsoft.com/en-gb/microsoft-365/outlook/log-in +https://github.com/login +https://codeberg.org/user/login?redirect_to=%2f +https://account.proton.me/mail +https://bsky.app/ +https://x.com/ +https://accounts.google.com/v3/signin/ +https://www.reddit.com/ +https://www.sbs.com.au/ondemand/ +https://discord.com/login + +## Settings + +Remove little icon from top-left +Remove profile thing from bark +Remove shortcuts and recommended stories +Set background to a photograph +Dark theme + +## about:config + +browser.urlbar.showSearchSuggestionsFirst - false +browser.tabs.closeWindowWithLastTab - false diff --git a/terminal-scripts/Makefile b/terminal-scripts/Makefile @@ -33,3 +33,4 @@ normal: cp mymv.sh ${BIN}/mymv cp login-bsky.sh ${BIN}/login-bsky cp favs-backup.sh ${BIN}/favs-backup + cp balance-folders.sh ${BIN}/balance-folders diff --git a/terminal-scripts/balance-folders.sh b/terminal-scripts/balance-folders.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +root="$(pwd)" + +oldIFS="$IFS" +IFS=$'\n' +dirs=( $(find "$1" -type d) ) +IFS="$oldIFS" + +for dir in "${dirs[@]}"; do + if [ "$(find "$dir" -type d | wc -l)" -gt 2 ]; then + continue + fi + cd "$dir" + if [[ "$(ls | head -n 1)" == *".m4a" ]]; then + aacgain -c -r -m 1 *.m4a + else + rsgain easy . + fi + cd "$root" +done