dotfiles

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

commit 538549892a8a639424b6fe9214138dae71b6f251
parent 5a4764b1df0cf4b07890acd4589ecca852e250f7
Author: regexghost <dev@regexghost.com>
Date:   Tue, 28 Jul 2026 10:51:18 +0100

icon in music-moc.sh and init.sh, new programs in otherPrograms.sh, retroarch gba cores

Diffstat:
Mdotfiles/.kshrc | 1+
Minit.sh | 2++
MotherPrograms.sh | 35++++++++++++++++++++++++++++++++++-
Mpanel-scripts/music-moc.sh | 2+-
Mretroarch-setup/compile-cores.sh | 18+++++++++++++++++-
5 files changed, 55 insertions(+), 3 deletions(-)

diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc @@ -57,6 +57,7 @@ alias capture-window='echo "Focus window to capture" && sleep 1 && id="$(xdotool alias da='download-vids && download-pods' alias sshr='ssh racknerd' alias sshp='ssh piserver' +alias sshg='ssh gopherbox' alias qv='~/.config/newsraft/queue-vid.sh' alias dns='dig A +short' alias vp='vid-play' diff --git a/init.sh b/init.sh @@ -69,3 +69,5 @@ python3 -m venv .venv 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 +sed 's/currentColor/white/g' /usr/share/icons/Papirus/24x24/symbolic/emblems/emblem-music-symbolic.svg > /tmp/temp.svg +magick -background none -fill white -density 400 /tmp/temp.svg -resize 100x100 ~/.local/share/regexghost/panel/emblem-music-symbolic.png diff --git a/otherPrograms.sh b/otherPrograms.sh @@ -207,7 +207,7 @@ bug () { } st () { - sudo apt install libgd-dev + sudo apt install libgd-dev papirus-icon-theme git clone https://github.com/regexghost/st cd st @@ -311,6 +311,33 @@ sxiv () { cd .. } +openssh () { + mkdir openssh + cd openssh + url="$(curl "https://www.openssh.org/openbsd.html" | grep "ftp" | head -n 2 | tail -n 1 | cut -d "\"" -f 2)" + wget "$url" + tar -xf *.tar.gz/ +} + +cava () { + sudo apt install libfftw3-dev libasound2-dev libpulse-dev libtool libiniparser-dev libsdl2-2.0-0 libsdl2-dev libjack-jackd2-dev + + mkdir cava + cd cava + url="$(github_latest_release "github" "karlstav" "cava")" + wget "$url" + unzip *.zip + cd */ + + ./autogen.sh + ./configure --prefix="$HOME/.local" + make + make install + + cd .. + cd .. +} + alpine () { mkdir alpine cd alpine @@ -572,6 +599,8 @@ elif [ "$1" = "notmine" ]; then build mercusys build zathura build ueberzugpp + build openssh + build cava build retroarch echo "done" elif [ "$1" = "jwm" ]; then @@ -634,6 +663,10 @@ elif [ "$1" = "zathura" ]; then zathura elif [ "$1" = "ueberzugpp" ]; then ueberzugpp +elif [ "$1" = "openssh" ]; then + openssh +elif [ "$1" = "cava" ]; then + cava elif [ "$1" = "alpine" ]; then alpine else diff --git a/panel-scripts/music-moc.sh b/panel-scripts/music-moc.sh @@ -62,7 +62,7 @@ if ! $mocp_command -i | grep -q "State: STOP"; then total="$(echo "$mocp_i" | awk '/^TotalSec/ {print $2}')" current="$(echo "$mocp_i" | awk '/^CurrentSec/ {print $2}')" progress=$(echo "$current/$total*100" | bc -l | cut -d "." -f 1) - notify-send -i emblem-music-symbolic "Currently Playing:" "$song_name" -h "int:value:${progress}" + notify-send -i "${XDG_DATA_HOME}/regexghost/panel/emblem-music-symbolic.png" "Currently Playing:" "$song_name" -h "int:value:${progress}" exit fi diff --git a/retroarch-setup/compile-cores.sh b/retroarch-setup/compile-cores.sh @@ -34,10 +34,26 @@ cp libretro-stella2014/stella2014_libretro.so "${CONFIG_LOC}/cores/" read -p "q to quit if errors" quit [ "$quit" = "q" ] && exit +./libretro-fetch.sh mgba +JOBS=1 ./libretro-build.sh mgba +cp libretro-mgba/mgba_libretro.so "${CONFIG_LOC}/cores/" + +read -p "q to quit if errors" quit +[ "$quit" = "q" ] && exit + +./libretro-fetch.sh gpsp +JOBS=1 ./libretro-build.sh gpsp +cp libretro-gpsp/gpsp_libretro.so "${CONFIG_LOC}/cores/" + +read -p "q to quit if errors" quit +[ "$quit" = "q" ] && exit + ./libretro-install.sh infofiles cp infofiles/picodrive_libretro.info "${CONFIG_LOC}/cores/" +cp infofiles/nestopia_libretro.info "${CONFIG_LOC}/cores/" cp infofiles/gambatte_libretro.info "${CONFIG_LOC}/cores/" cp infofiles/stella2014_libretro.info "${CONFIG_LOC}/cores/" -cp infofiles/nestopia_libretro.info "${CONFIG_LOC}/cores/" +cp infofiles/mgba_libretro.info "${CONFIG_LOC}/cores/" +cp infofiles/gpsp_libretro.info "${CONFIG_LOC}/cores/" cd .. cd ..