dotfiles

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

commit 5a4764b1df0cf4b07890acd4589ecca852e250f7
parent e8445cf8322f56f6728de65d8a05779e8ec853e8
Author: regexghost <dev@regexghost.com>
Date:   Mon, 27 Jul 2026 23:14:31 +0100

diff option in backup.sh, proper nnn file manager support in kshrc and jwm, added ueberzugpp to otherPrograms.sh and xfe gui file manager

Diffstat:
M.gitignore | 1+
Mapt-install.sh | 2+-
Mdotfiles/.kshrc | 7+------
Minit.sh | 4++++
Mjwm/.config/jwm/jwmrc | 5+++--
MotherPrograms.sh | 24++++++++++++++++++++++++
Mterminal-scripts/Makefile | 1+
Mterminal-scripts/backup.sh | 4++++
Aterminal-scripts/files.sh | 6++++++
9 files changed, 45 insertions(+), 9 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,3 +1,4 @@ terminal-scripts/soundboard/go.sum Colourscheme-Substitution-* helpers/colours/newThemes.txt +temp_programs/ 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-esr 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 xdotool pulseaudio-module-bluetooth sqlite3 expect aria2 gammastep qimgv kimageformat-plugins kimageformat6-plugins nomacs mediainfo mpd mpc htop python3-venv btop alpine unrar-free android-file-transfer +sudo apt install curl wget golang xorg xinit x11-xserver-utils bluetooth unzip git firefox-esr 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 xdotool pulseaudio-module-bluetooth sqlite3 expect aria2 gammastep qimgv kimageformat-plugins kimageformat6-plugins nomacs mediainfo mpd mpc htop python3-venv btop alpine unrar-free android-file-transfer nnn xfe diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc @@ -31,12 +31,7 @@ grepc () { grep -oP ".{0,100}${1}.{0,100}" } -nnn () { - export NNN_FIFO=/tmp/nnn.fifo - export NNN_PLUG=v:preview-tui - tmux new-session -d -s mys "nnn -P v" - tmux attach -} +alias nnn='files' rss () { pgrep newsraft > /dev/null && echo "Newsraft already open" && return diff --git a/init.sh b/init.sh @@ -65,3 +65,7 @@ mkdir -p ~/.cache/mpd cd ~/.local/share/regexghost python3 -m venv .venv ~/.local/share/regexghost/.venv/bin/pip install music-tag pillow requests beautifulsoup4 howlongtobeatpy + +mkdir -p ~/.config/nnn/plugins +curl "https://raw.githubusercontent.com/jarun/nnn/refs/heads/master/plugins/preview-tui" > ~/.config/nnn/plugins/preview-tui +chmod +x ~/.config/nnn/plugins/preview-tui diff --git a/jwm/.config/jwm/jwmrc b/jwm/.config/jwm/jwmrc @@ -173,12 +173,13 @@ <Key mask="4S" key="Return">exec:xterm</Key> <Key mask="4" key="b">exec:st -t btop -e btop</Key> <Key mask="4" key="w">exec:firefox</Key> + <Key mask="4" key="r">exec:keepassxc</Key> <Key mask="4S" key="w">exec:chromium</Key> <Key mask="4" key="n">exec:st -t nethogs -e nethogs</Key> <Key mask="4" key="u">exec:st -t cava -e cava</Key> <Key mask="4" key="c">exec:st -t qalc -e qalc</Key> - <Key mask="4" key="e">exec:st -t ranger -e ranger</Key> - <Key mask="4S" key="e">exec:xfiles</Key> + <Key mask="4" key="e">exec:st -t nnn -e files</Key> + <Key mask="4S" key="e">exec:xfe</Key> <Key mask="4" key="q">exec:~/.local/share/regexghost/wm-scripts/bookmarks.sh</Key> <Key mask="4" key="f">exec:~/.local/share/regexghost/wm-scripts/dmenu-programs.sh</Key> <Key mask="4" key="s">exec:st -t Soundboard -e soundboard</Key> diff --git a/otherPrograms.sh b/otherPrograms.sh @@ -512,6 +512,27 @@ zathura () { cd .. } +ueberzugpp () { + sudo apt install libssl-dev libvips-dev libsixel-dev libchafa-dev libtbb-dev libxcb-image0-dev libxcb-res0 libxcb-res0-dev + + mkdir ueberzugpp + cd ueberzugpp + url="$(github_latest_release "github" "jstkdng" "ueberzugpp")" + wget "$url" + unzip *.zip + cd */ + + mkdir build + cd build + cmake -DCMAKE_BUILD_TYPE=Release .. + cmake --build . + cd .. + sudo cmake --install build + + cd .. + cd .. +} + build () { read -p "q to quit, s to skip (next: $1)" qToQuit [ "$qToQuit" = "q" ] && exit @@ -550,6 +571,7 @@ elif [ "$1" = "notmine" ]; then build cal build mercusys build zathura + build ueberzugpp build retroarch echo "done" elif [ "$1" = "jwm" ]; then @@ -610,6 +632,8 @@ elif [ "$1" = "mercusys" ]; then mercusys elif [ "$1" = "zathura" ]; then zathura +elif [ "$1" = "ueberzugpp" ]; then + ueberzugpp elif [ "$1" = "alpine" ]; then alpine else diff --git a/terminal-scripts/Makefile b/terminal-scripts/Makefile @@ -41,3 +41,4 @@ normal: cp vid-play.sh ${BIN}/vid-play cp blog-devlog.sh ${BIN}/blog-devlog cp howlongtobeat.py ${TERMINAL}/howlongtobeat.py + cp files.sh ${BIN}/files diff --git a/terminal-scripts/backup.sh b/terminal-scripts/backup.sh @@ -27,4 +27,8 @@ elif [ "$1" = "make" ]; then done <<EOF $(cat "$BACKUP_FILE") EOF +elif [ "$1" = "diff" ]; then + last2="$(find "${BACKUP_LOCATION}/hashes" | sort | tail -n 2 | head -n 1)" + last1="$(find "${BACKUP_LOCATION}/hashes" | sort | tail -n 1)" + diff --color=auto "$last2" "$last1" fi diff --git a/terminal-scripts/files.sh b/terminal-scripts/files.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +export NNN_FIFO=/tmp/nnn.fifo +export NNN_PLUG=v:preview-tui +tmux new-session -d -s mys "nnn -P v" +tmux attach