dotfiles

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

commit 58789f593ff1cb681af99e27e049a13d0a4581c3
parent 3a60b8ff1cbc682abb5afcfae70d2f5209a91810
Author: regexghost <dev@regexghost.com>
Date:   Sat, 11 Jul 2026 12:43:21 +0100

increased code font style in style.css template, and formatting for guides/

Diffstat:
Mguides/firefox.md | 46+++++++++++++++++++++++-----------------------
Mguides/git.md | 10+++++-----
Mguides/samba.md | 6+++---
Mhelpers/colours/templates/Template-style.css | 1+
Mterminal-scripts/backup.sh | 4++--
5 files changed, 34 insertions(+), 33 deletions(-)

diff --git a/guides/firefox.md b/guides/firefox.md @@ -2,36 +2,36 @@ ## 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/ +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/ https://addons.mozilla.org/en-GB/firefox/addon/old-reddit-redirect/ ## 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 +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 +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 +`browser.urlbar.showSearchSuggestionsFirst` - `false` +`browser.tabs.closeWindowWithLastTab` - `false` diff --git a/guides/git.md b/guides/git.md @@ -1,8 +1,8 @@ # GitHub repo -git init -git add README.md -git commit -m "first commit" -git branch -M main -git remote add origin https://github.com/regexghost/<repo>.git +git init +git add README.md +git commit -m "first commit" +git branch -M main +git remote add origin https://github.com/regexghost/<repo>.git git push -u origin main diff --git a/guides/samba.md b/guides/samba.md @@ -1,8 +1,8 @@ # Samba Setup -`sudo apt install samba samba-common-bin` -`sudo nano /etc/samba/smb.conf` -`sudo smbpasswd -a <username>` +`sudo apt install samba samba-common-bin` +`sudo nano /etc/samba/smb.conf` +`sudo smbpasswd -a <username>` `sudo systemctl restart smbd` ## Config File diff --git a/helpers/colours/templates/Template-style.css b/helpers/colours/templates/Template-style.css @@ -53,6 +53,7 @@ i { code { color: #CYAN; font-family: monospace; + font-size: 14px; } ul ::marker { diff --git a/terminal-scripts/backup.sh b/terminal-scripts/backup.sh @@ -8,7 +8,7 @@ BACKUP_LOCATION="$HOME/Downloads/BackupMount/MainBackup" if [ "$1" = "add" ]; then [ -e "$2" ] && echo "$(readlink -f "$2")" | sed "s|$HOME||g" >> "$BACKUP_FILE" elif [ "$1" = "remove" ] || [ "$1" = "rm" ]; then - file="$(echo "$2" | sed "s|$HOME||g")" + file="$(readlink -f "$2" | sed "s|$HOME||g")" if grep -q "^${file}\$" "$BACKUP_FILE"; then sed "\:^$file\$:d" "$BACKUP_FILE" > /tmp/backup-tempfile mv /tmp/backup-tempfile "$BACKUP_FILE" @@ -16,7 +16,7 @@ elif [ "$1" = "remove" ] || [ "$1" = "rm" ]; then elif [ "$1" = "ls" ]; then cat "$BACKUP_FILE" | sed 's/^/~/g' elif [ "$1" = "make" ]; then - date "+y/%m/%d" >> "$XDG_DATA_HOME/regexghost/script-data/backup-history.txt" + date +"%y-%m-%d" >> "$XDG_DATA_HOME/regexghost/script-data/backup-history.txt" rsync -ar --links --delete --info=progress2 "${BACKUP_LOCATION}/latest/" "${BACKUP_LOCATION}/previous/" rsync -ar --links --delete --info=progress2 --files-from="${BACKUP_FILE}" "$HOME" "${BACKUP_LOCATION}/latest/" fi