dotfiles

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

commit ee717497ee0e9bab288938bad97e79da80ec777f
parent 3e639a300c3058816dd8175b84b3832f7c960223
Author: regexghost <dev@regexghost.com>
Date:   Thu,  9 Jul 2026 15:59:18 +0100

fixed bug when adding stuff to backup list, sometimes would miss leading /

Diffstat:
Mapt-install.sh | 2+-
Minit.sh | 16+++++++++-------
Mterminal-scripts/backup.sh | 2+-
3 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/apt-install.sh b/apt-install.sh @@ -1,3 +1,3 @@ #!/bin/sh -sudo apt install curl wget golang xorg xinit x11-xserver-utils bluetooth unzip git firefox mpv vlc tar moc fasd fonts-roboto fonts-firacode figlet jq xcompmgr picom trash-cli ncdu pulsemixer feh moc-ffmpeg-plugin keepassxc-full fzf libnotify-bin dunst texinfo xmlstarlet duf gh tidy w3m bluetooth xclip wbritish wbritish-huge rsync pup rename ifuse libimobiledevice-utils chromium groff zathura zathura-pdf-poppler zathura-ps +sudo apt install curl wget golang xorg xinit x11-xserver-utils bluetooth unzip git firefox mpv vlc tar moc fasd fonts-roboto fonts-firacode figlet jq xcompmgr picom trash-cli ncdu pulsemixer feh moc-ffmpeg-plugin keepassxc-full fzf libnotify-bin dunst texinfo xmlstarlet duf gh tidy w3m bluetooth xclip wbritish wbritish-huge rsync pup rename ifuse libimobiledevice-utils chromium groff zathura zathura-pdf-poppler zathura-ps xdotool pulseaudio-module-bluetooth diff --git a/init.sh b/init.sh @@ -6,11 +6,11 @@ set -e ./apt-install.sh # Install dotfile scripts -cd panel-scripts; make; cd .. -cd terminal-scripts; make; cd .. -cd other; make; cd .. -cd wm-scripts; make; cd .. -cd helpers/subgo; make full; cd ../.. +cd panel-scripts/; make; cd ../ +cd terminal-scripts/; make; cd ../ +cd other/; make; cd ../ +cd wm-scripts/; make; cd ../ +cd helpers/subgo/; make full; cd ../../ # Compile programs ./otherPrograms.sh mine @@ -27,5 +27,7 @@ chsh # Random setup echo "50" > ~/.cache/volume echo "no" > ~/.cache/muted -mkdir ~/.config/aspell -mkdir ~/.local/share/aspell +mkdir ~/.config/aspell/ +mkdir ~/.local/share/aspell/ +sudo systemctl enable --now bluetooth +systemctl --user restart pulseaudio diff --git a/terminal-scripts/backup.sh b/terminal-scripts/backup.sh @@ -6,7 +6,7 @@ BACKUP_FILE="$XDG_CONFIG_HOME/regexghost/backup.txt" BACKUP_LOCATION="$HOME/Downloads/BackupMount/MainBackup" if [ "$1" = "add" ]; then - [ -e "$2" ] && echo "$2" | sed "s|$HOME||g" >> "$BACKUP_FILE" + [ -e "$2" ] && echo "$(pwd)${2}" | sed "s|$HOME||g" >> "$BACKUP_FILE" elif [ "$1" = "remove" ] || [ "$1" = "rm" ]; then file="$(echo "$2" | sed "s|$HOME||g")" if grep -q "^${file}\$" "$BACKUP_FILE"; then