diff options
Diffstat (limited to 'scripts/.local/bin')
-rwxr-xr-x | scripts/.local/bin/compiler | 5 | ||||
-rwxr-xr-x | scripts/.local/bin/yt | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/scripts/.local/bin/compiler b/scripts/.local/bin/compiler index 0d5945a..b784caa 100755 --- a/scripts/.local/bin/compiler +++ b/scripts/.local/bin/compiler @@ -28,10 +28,7 @@ else --variable graphics --variable 'geometry:margin=1in' -V 'mathfont:Symbola' ;; HTML) - pandoc "$FILE" --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash \ - --output "$BASE".html --email-obfuscation none --self-contained --standalone --section-divs \ - --template ~/.local/src/templates/default.html --no-highlight --variable highlightjs=1 \ - --variable 'theme:bootstrap' --mathjax + pandoc "$FILE" --to html --output "$BASE".html ;; Beamer) pandoc "$FILE" --to beamer --from markdown+autolink_bare_uris+tex_math_single_backslash --output "$BASE".pdf \ diff --git a/scripts/.local/bin/yt b/scripts/.local/bin/yt index d4ced52..1e99d4b 100755 --- a/scripts/.local/bin/yt +++ b/scripts/.local/bin/yt @@ -4,6 +4,6 @@ QUERY=$(: | dmenu -i -p "Search:") if [ "$QUERY" != "" ]; then VIDEO=$(queryt -s "$QUERY" -f "i t" | dmenu -i -l 10 -p "Video:" | awk '{print $1}') if [ "$VIDEO" != "" ]; then - mpv --no-config --script-opts=ytdl_hook-ytdl_path=yt-dlp --msg-level=all=no,ytdl_hook=trace "https://www.youtube.com/watch?v=$VIDEO" + mpv --no-config --ytdl-format=best[height"<="1080] --script-opts=ytdl_hook-ytdl_path=yt-dlp --msg-level=all=no,ytdl_hook=trace "https://www.youtube.com/watch?v=$VIDEO" fi fi |