commit 16aefc4bec23f96f5226f648b7d084b63d44e428
parent 9029ddc9160f004e08e6392de701f9399ded64b0
Author: regexghost <dev@regexghost.com>
Date: Tue, 25 Aug 2026 19:03:38 +0100
added / to end of dirs in qcd list, fixed format in launch-stream.sh
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc
@@ -128,7 +128,7 @@ alias as='echo "Use \\\as to run as command, disabled as too easy to type accide
# fzf -> cd
qcd () {
- dir="$(find "$HOME/Documents" "$HOME/Downloads" "$HOME/Music" "$HOME/Pictures" "$HOME/Programs" "$HOME/Videos" "$HOME/Work" "$HOME/.local/share/regexghost" -type d | fzf)"
+ dir="$(find "$HOME/Documents" "$HOME/Downloads" "$HOME/Music" "$HOME/Pictures" "$HOME/Programs" "$HOME/Videos" "$HOME/Work" "$HOME/.local/share/regexghost" -type d | sed 's/$/\//g' | fzf)"
[ "dir" = "" ] && return
cd "$dir"
}
diff --git a/wm-scripts/launch-stream.sh b/wm-scripts/launch-stream.sh
@@ -22,7 +22,7 @@ kick="$(echo "$line" | cut -d "," -f 4)"
if ! [ "$youtube" = "NONE" ]; then
notify-send "Launching ${name} YouTube stream"
- mpv --no-resume-playback --ytdl-format="best[height<=480]" "https://youtube.com/${youtube}/live" && exit
+ mpv --no-resume-playback --ytdl-format="bestvideo[height<=480]+bestaudio" "https://youtube.com/${youtube}/live" && exit
notify-send "Failed to open ${name} YouTube stream"
fi