commit 09cab747c7649a14296c2b2b8e1ddd80afab717b
parent 80ea5d615f7f39b27452dc3591952736681c9c91
Author: awy <awy@awy.one>
Date: Wed, 14 May 2025 02:42:25 +0300
mpv
Diffstat:
2 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
@@ -4,7 +4,3 @@ gpu-api=vulkan
gpu-context=waylandvk
hwdec=auto
target-colorspace-hint=yes
-
-# uosc
-osd-bar=no
-border=no
diff --git a/rice.sh b/rice.sh
@@ -164,25 +164,13 @@ rm -rf mutt-wizard
rm -rf wmenu
# MPV
-zip_url=https://github.com/tomasklaen/uosc/releases/latest/download/uosc.zip
-conf_url=https://github.com/tomasklaen/uosc/releases/latest/download/uosc.conf
thumbfastlua_url=https://raw.githubusercontent.com/po5/thumbfast/refs/heads/master/thumbfast.lua
thumbfastconf_url=https://raw.githubusercontent.com/po5/thumbfast/refs/heads/master/thumbfast.conf
sponsorblock_url=https://codeberg.org/jouni/mpv_sponsorblock_minimal/raw/branch/master/sponsorblock_minimal.lua
-zip_file=/tmp/uosc.zip
config_dir="/home/$PERMUSER/.config/mpv"
scriptopts_dir="$config_dir/script-opts"
-conf_file="$scriptopts_dir/uosc.conf"
-
-echo "Downloading archive..."
-run_as_user curl -Ls -o $zip_file $zip_url || abort "Couldn't download: $zip_url"
-echo "Extracting archive..."
-run_as_user unzip -qod $config_dir $zip_file || abort "Couldn't extract: $zip_file"
-echo "Deleting archive..."
-rm -f $zip_file || echo "Couldn't delete: $zip_file"
run_as_user mkdir -p $scriptopts_dir || echo "Couldn't create: $scriptopts_dir"
-run_as_user curl -Ls -o $conf_file $conf_url || echo "Couldn't download: $conf_url"
# thumbfast
run_as_user curl -Ls -o "$config_dir/scripts/thumbfast.lua" $thumbfastlua_url || echo "Couldn't download: $thumbfastlua_url"