dotfiles

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

commit 1a3cfb29fc623f95586368bac4f10529b79692c3
parent 32e3038cefd6008f5ec9ccd136a23fdab4800bd9
Author: regexghost <regexghost@protonmail.com>
Date:   Sat,  9 May 2026 20:22:26 +0100

minor tweaks and fixes

Diffstat:
MREADME.md | 2+-
Mdotfiles/.config/alacritty/Colourscheme-Substitution-jmbi-alacritty.toml | 2+-
Mdotfiles/.xinitrc | 4+++-
Mhelpers/subgo/sub.go | 2+-
Mlists/dotfiles | 1-
Msetup.sh | 16++++++++--------
6 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md @@ -13,6 +13,6 @@ More information about specific WM/DE setups can be found below, both the dotfil ## Window Managers/Desktop Environments +* [JWM (Raspberry Pi)] - [Website](https://www.regexghost.com/linux/jwm) * [i3](i3/README.md) - [Website](https://www.regexghost.com/linux/i3) -* [Awesome WM](awesome/README.md) - [Website](https://www.regexghost.com/linux/raspberry-pi-3) * [KDE](kde/README.md) - [Website](https://www.regexghost.com/linux/kde) diff --git a/dotfiles/.config/alacritty/Colourscheme-Substitution-jmbi-alacritty.toml b/dotfiles/.config/alacritty/Colourscheme-Substitution-jmbi-alacritty.toml @@ -69,4 +69,4 @@ text = "CellBackground" [cursor.style] shape = "Beam" -#### End Subtitute +#### End Substitute diff --git a/dotfiles/.xinitrc b/dotfiles/.xinitrc @@ -8,5 +8,7 @@ xset r rate 250 40 xset s off xset dpms 0 0 0 +(sleep 10 && ~/.local/share/regexghost/panel/lemonbar-runner.sh) & disown + # Window manger -exec jwm +exec jwm 2> ~/.cache/xsession-errors diff --git a/helpers/subgo/sub.go b/helpers/subgo/sub.go @@ -70,7 +70,7 @@ func extractZoneName(line string) string { } func extractZoneAndSubName(filename string) (string, string) { - r, _ := regexp.Compile(".*Substitution-([^-]*)-([^-]*)") + r, _ := regexp.Compile("([^-]*)-Substitution-([^-]*)") x := r.FindStringSubmatch(filename) return x[1], x[2] } diff --git a/lists/dotfiles b/lists/dotfiles @@ -13,7 +13,6 @@ ~/.config/cava/config ~/.config/geany/keybindings.conf ~/.config/geany/geany.conf -~/.config/geany/colorschemes ~/.config/geany/colorschemes/jmbi.conf ~/.config/kitty/kitty.conf ~/.config/kitty/retro.conf diff --git a/setup.sh b/setup.sh @@ -2,7 +2,7 @@ file="$2" - +exec 3<&0 if [ "$1" = "save" ]; then while read -r filepath; do repo_path=$(echo "$filepath" | sed "s|~|dotfiles|g") @@ -10,13 +10,13 @@ if [ "$1" = "save" ]; then basename=$(basename "$filepath") repo_dirname=$(dirname "$repo_path") mkdir -p "$repo_dirname" + echo $filepath if grep -q "Start Substitute" "$real_path"; then - sub save "$basename" "$repo_dirname" "$real_path" "$repo_path" + sub save "$basename" "$repo_dirname" "$real_path" <&3 + sub clean "$basename" "$repo_dirname" "$real_path" "$repo_path" else cp "$real_path" "$repo_path" fi - echo $real_path - echo $repo_path done < $file elif [ "$1" = "make" ]; then while read -r filepath; do @@ -25,13 +25,13 @@ elif [ "$1" = "make" ]; then basename=$(basename "$filepath") real_dirname=$(dirname "$real_path") repo_dirname=$(dirname "$repo_path") + echo $filepath mkdir -p "$real_dirname" if grep -q "Start Substitute" "$repo_path"; then - sub make "$basename" "$repo_dirname" "$repo_path" "$real_path" + sub make "$basename" "$repo_dirname" "$repo_path" "$real_path" <&3 else - echo cp "$real_path" "$repo_path" + cp "$repo_path" "$real_path" fi - echo $real_path - echo $repo_path done < $file fi +exec 3<&-