aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/mpv/mpv.conf7
-rwxr-xr-xrice.sh6
2 files changed, 13 insertions, 0 deletions
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