about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-01 20:45:11 +0100
committerSoispha <soispha@vhack.eu>2024-01-01 20:45:11 +0100
commit51c72434077df0aea6dadeff51974fb33d8608e8 (patch)
treef27ced847f7537b4c0bc9539f823e6787aee6829 /hm
parentfix(hm/pkgs/scr/ytc): Use `/tmp` instead of the xdg runtime dir (diff)
downloadnixos-config-51c72434077df0aea6dadeff51974fb33d8608e8.tar.gz
nixos-config-51c72434077df0aea6dadeff51974fb33d8608e8.zip
fix(hm/pkgs/scr/ytc): Add default volume and unrestrict filenames
Diffstat (limited to '')
-rwxr-xr-xhm/soispha/pkgs/scripts/wrappers/ytc3
1 files changed, 1 insertions, 2 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/ytc b/hm/soispha/pkgs/scripts/wrappers/ytc
index 61e8d031..44aeb358 100755
--- a/hm/soispha/pkgs/scripts/wrappers/ytc
+++ b/hm/soispha/pkgs/scripts/wrappers/ytc
@@ -11,7 +11,7 @@ col() {
 
 play() {
     msg2 "Playing: $1"
-    mpv "$1" --speed=2.7
+    mpv "$1" --speed=2.7 --volume=75
     output="$?";
 
     if [ "$output" -eq 0 ]; then
@@ -35,7 +35,6 @@ cat << EOF > "$yt_flags"
 --write-info-json
 --sponsorblock-mark default
 --sponsorblock-remove sponsor
---restrict-filenames
 EOF
 
 [ -d "$OUTPUT_PATH" ] || mkdir "$OUTPUT_PATH";