commit db9c9114335d089d3b794d9e8e84b76572f11019
parent 6582893924dd4f04e257bf1db3d41ce0a8c2eed9
Author: regexghost <dev@regexghost.com>
Date: Wed, 5 Aug 2026 21:49:34 +0100
stream launcher improvement and chromium in .local/share
Diffstat:
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/init.sh b/init.sh
@@ -77,3 +77,7 @@ magick -background none -fill white -density 400 /tmp/temp.svg -resize 100x100 ~
# For old intel systems <= 4th gen, stops an mpv error
sudo apt remove intel-media-va-driver
+
+# Put chromium data in ~/.local/share
+mkdir ~/.local/share/chromium
+ln -sf ~/.local/share/chromium ~/.config/chromium
diff --git a/terminal-scripts/os-transfer-backup.sh b/terminal-scripts/os-transfer-backup.sh
@@ -41,7 +41,7 @@ tar czf firefox-backup.tar.gz .mozilla
cp "$HOME/firefox-backup.tar.gz" "${BACKUP_LOCATION}/firefox-backup.tar.gz"
echo "Copying Chromium data"
-cd "$HOME/.config"
+cd "$HOME/.local/share"
tar czf chromium-backup.tar.gz chromium
cp "$HOME/.config/chromium-backup.tar.gz" "${BACKUP_LOCATION}/chromium-backup.tar.gz"
diff --git a/wm-scripts/launch-stream.sh b/wm-scripts/launch-stream.sh
@@ -17,19 +17,19 @@ 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
- notify-send "Failed to open YouTube stream"
+ notify-send "Failed to open ${name} YouTube stream"
fi
if ! [ "$kick" = "NONE" ]; then
notify-send "Launching ${name} Kick stream"
mpv --no-resume-playback --ytdl-format="2" "https://kick.com/${kick}" && exit
- notify-send "Failed to open Kick stream"
+ notify-send "Failed to open ${name} Kick stream"
fi
if ! [ "$twitch" = "NONE" ]; then
notify-send "Launching ${name} Twitch stream"
mpv --no-resume-playback "https://twitch.tv/${twitch}" && exit
- notify-send "Failed to open Twitch stream"
+ notify-send "Failed to open ${name} Twitch stream"
fi
notify-send "Not live or unable to open stream"