diff options
author | Soispha <soispha@vhack.eu> | 2024-01-01 20:45:11 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-01 20:45:11 +0100 |
commit | 51c72434077df0aea6dadeff51974fb33d8608e8 (patch) | |
tree | f27ced847f7537b4c0bc9539f823e6787aee6829 /hm | |
parent | fix(hm/pkgs/scr/ytc): Use `/tmp` instead of the xdg runtime dir (diff) | |
download | nixos-config-51c72434077df0aea6dadeff51974fb33d8608e8.tar.gz nixos-config-51c72434077df0aea6dadeff51974fb33d8608e8.zip |
fix(hm/pkgs/scr/ytc): Add default volume and unrestrict filenames
Diffstat (limited to 'hm')
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/ytc | 3 |
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"; |