From 98e78e0cfb73cb5faed3fc1ed0d8c32c39636407 Mon Sep 17 00:00:00 2001 From: awy Date: Mon, 3 Nov 2025 01:58:03 +0300 Subject: uosc --- .config/mpv/mpv.conf | 7 +++++++ rice.sh | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index a1a32c5..2d3346a 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -1,3 +1,10 @@ +# uosc provides seeking & volume indicators (via flash-timeline and flash-volume commands) +# if you decide to use them, you don't need osd-bar +osd-bar=no + +# uosc will draw its own window controls and border if you disable window border +border=no + profile=high-quality vo=gpu-next gpu-api=vulkan diff --git a/rice.sh b/rice.sh index 2a212e0..271083a 100755 --- a/rice.sh +++ b/rice.sh @@ -163,6 +163,12 @@ sed -Ei "s/(network).*/\1=yes/" "$scriptopts_dir/thumbfast.conf" # sponsorblock run_as_user curl -Ls -o "$config_dir/scripts/sponsorblock_minimal.lua" $sponsorblock_url || echo "Couldn't download: $sponsorblock_url" +#uosc +run_as_user wget "https://github.com/tomasklaen/uosc/releases/latest/download/uosc.zip" +run_as_user unzip uosc.zip -d "$config_dir" +run_as_user wget "https://github.com/tomasklaen/uosc/releases/latest/download/uosc.conf" +run_as_user mv uosc.conf "$scriptopts_dir" + # pam sed -i '/auth[[:space:]]*include[[:space:]]*system-local-login/a auth optional pam_gnome_keyring.so' /etc/pam.d/login sed -i '/session[[:space:]]*include[[:space:]]*system-local-login/a session optional pam_gnome_keyring.so auto_start' /etc/pam.d/login -- cgit v1.2.3