commit 67d36c320ba9fa84249a51a0b505f517cdb280ea
parent 72d5568ba92a3cd1f792b8003c1a407a59c8bf12
Author: regexghost <dev@regexghost.com>
Date: Fri, 31 Jul 2026 18:32:40 +0100
minor mpv.conf update, switched btop to htop in jwm config, and embedding chapters in download-vids.sh
Diffstat:
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/dotfiles/.config/mpv/mpv.conf b/dotfiles/.config/mpv/mpv.conf
@@ -1,6 +1,6 @@
hwdec=vaapi
geometry=60%
-#osc=no
+osc=no
save-position-on-quit=yes
border=yes # for wayland
force-window=yes
diff --git a/jwm/.config/jwm/jwmrc b/jwm/.config/jwm/jwmrc
@@ -171,7 +171,7 @@
<Key mask="4S" key="apostrophe">exec:~/.local/share/regexghost/wm-scripts/keyboard-settings.sh</Key>
<Key mask="4" key="Return">exec:st</Key>
<Key mask="4S" key="Return">exec:xterm</Key>
- <Key mask="4" key="b">exec:st -t btop -e btop</Key>
+ <Key mask="4" key="b">exec:st -t htop -e htop</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>
diff --git a/terminal-scripts/download-vids.sh b/terminal-scripts/download-vids.sh
@@ -9,6 +9,7 @@ quality_options_videos="bestvideo[height<=720][fps<=30][vcodec*=avc]+bestaudio[e
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"
+metadata_options="--embed-chapters"
if [ "$1" = "s" ]; then
targetDir="${targetDir}/Shorts"
@@ -38,9 +39,9 @@ done
while read -r path; do
id="$(basename "$path" | sed 's/.txt//g')"
if echo "$path" | grep -q Shorts; then
- yt-dlp $sub_options -o "$filename_options" -f "$quality_options_shorts" -P "$LOC/Shorts" -- "$id"
+ yt-dlp $sub_options $metadata_options -o "$filename_options" -f "$quality_options_shorts" -P "$LOC/Shorts" -- "$id"
else
- yt-dlp $sub_options -o "$filename_options" -f "$quality_options_videos" -P "$LOC/Videos" -- "$id"
+ yt-dlp $sub_options $metadata_options -o "$filename_options" -f "$quality_options_videos" -P "$LOC/Videos" -- "$id"
fi
if [ "$?" = "0" ]; then
mv "$path" "$targetDir/done"