dotfiles

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

commit 3a6b13ca9a3ec3e5a4f0758b8d63c4c674f7b8f6
parent 7506d7100b9d6255a06faa0710392b44c5fa9416
Author: regexghost <dev@regexghost.com>
Date:   Sat,  8 Aug 2026 14:11:11 +0100

don't try to change bluez volume if no headphones connected, also more specific sub option in download-vids.sh to stop live chat download

Diffstat:
Mterminal-scripts/download-vids.sh | 2+-
Mwm-scripts/volume.sh | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/terminal-scripts/download-vids.sh b/terminal-scripts/download-vids.sh @@ -8,7 +8,7 @@ targetDir="${LOC}/toDownload" quality_options_videos="bestvideo[height<=720][fps<=30][vcodec*=avc]+bestaudio[ext=m4a]" quality_options_shorts="bestvideo[width<=720][vcodec*=avc]+bestaudio[ext=m4a]" filename_options="%(channel)s - %(title)s.%(ext)s" -sub_options="--embed-subs --all-subs" +sub_options="--embed-subs --sub-langs en.*" metadata_options="--embed-chapters" if [ "$1" = "s" ]; then diff --git a/wm-scripts/volume.sh b/wm-scripts/volume.sh @@ -6,6 +6,7 @@ SINK_CACHE_FILE="$XDG_CACHE_HOME/panel_volume/sink" if [ "$2" = "--bluez" ]; then sink="$(pactl list sinks | grep "Name:" | grep "bluez" | sed 's/.*Name: //g')" + [ "$sink" = "" ] && exit echo "bluez" > "$SINK_CACHE_FILE" else sink="@DEFAULT_SINK@"