commit 0b24c88e68f460ac0e3681101fcc85f3c4bb026b
parent 40e52959779ccd17761f4802f09c14b71ac04f4e
Author: regexghost <dev@regexghost.com>
Date: Fri, 10 Jul 2026 16:15:15 +0100
vid-play.sh, init.sh changes and browser updates in jwmrc
Diffstat:
5 files changed, 37 insertions(+), 3 deletions(-)
diff --git a/init.sh b/init.sh
@@ -31,3 +31,10 @@ mkdir ~/.config/aspell/
mkdir ~/.local/share/aspell/
sudo systemctl enable --now bluetooth
systemctl --user restart pulseaudio
+mkdir ~/Videos
+mkdir ~/Videos/Podcasts
+mkdir ~/Videos/YouTube
+mkdir ~/Videos/YouTube/Videos
+mkdir ~/Videos/YouTube/Shorts
+mkdir ~/Videos/YouTube/toDownload
+touch ~/Videos/Podcasts/toDownload.txt
diff --git a/jwm/.config/jwm/jwmrc b/jwm/.config/jwm/jwmrc
@@ -7,7 +7,7 @@
<Menu icon="folder" label="Applications">
<Program icon="sound" label="Audacious">audacious</Program>
<Program icon="calc" label="Calculator">xcalc</Program>
- <Program icon="web-browser" label="Firefox">netsurf-gtk</Program>
+ <Program icon="web-browser" label="Firefox">firefox</Program>
<Program icon="image" label="Gimp">sxiv</Program>
<Program icon="email" label="Mail">claws-mail</Program>
<Program icon="system-file-manager" label="ROX">rox ~</Program>
@@ -172,8 +172,8 @@
<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="w">exec:netsurf-gtk</Key>
- <Key mask="4S" key="w">exec:firefox</Key>
+ <Key mask="4" key="w">exec:firefox</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>
diff --git a/terminal-scripts/Makefile b/terminal-scripts/Makefile
@@ -38,3 +38,4 @@ normal:
cp iphone-music-sync.sh ${BIN}/iphone-music-sync
cp media-cut.sh ${BIN}/media-cut
cp os-transfer-backup.sh ${BIN}/os-transfer-backup
+ cp vid-play.sh ${BIN}/vid-play
diff --git a/terminal-scripts/os-transfer-backup.sh b/terminal-scripts/os-transfer-backup.sh
@@ -32,6 +32,9 @@ cp -r "$HOME/Videos" "${BACKUP_LOCATION}/Videos"
echo "Copying ~/Downloads"
cp -r "$HOME/Downloads" "${BACKUP_LOCATION}/Downloads"
+echo "Copying ~/.local/bin"
+cp -r "$HOME/.local/bin" "${BACKUP_LOCATION}/local-bin"
+
echo "Copying Firefox data"
cd "$HOME"
tar czf firefox-backup.tar.gz .mozilla
diff --git a/terminal-scripts/vid-play.sh b/terminal-scripts/vid-play.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+LOC="$HOME/Videos/YouTube"
+
+if [ "$1" = "-s" ]; then
+ dir="Shorts"
+else
+ dir="Videos"
+fi
+
+vid="$(find "${LOC}/${dir}/" -type f | sed "s|${LOC}/${dir}/||g" | fzf)"
+
+[ "$vid" = "" ] && exit
+
+fullpath="${LOC}/${dir}/${vid}"
+
+${VIDEO_PLAYER:-mpv} "$fullpath"
+
+read -p "Delete video? (y/N) " yesOrNoDelete
+
+if [ "$yesOrNoDelete" = "y" ] || [ "$yesOrNoDelete" = "Y" ]; then
+ trash-put "$fullpath"
+fi