arbit/arbit.1.scd
2023-03-05 21:19:23 +01:00

38 lines
960 B
Markdown

arbit(1)
# NAME
arbit - A wrapper around yt-dlp, mpv and pipe-viewer to watch aribtrary videos
without a browser
# SYNOPSIS
*arbit* _<clipboard-url|clipboard-content|download-url>_
# DESCRIPTION
A little video watch and download script made to be used in tandem with
minimalist window managers.
# CONFIGURATION
*arbit* saves it's output to '*~/Videos/YouTube*' by default.
This can be changed by setting the *$ARBITDIR* environment variable.
# COMMANDS
*clipboard-url*
Open the contents of the clipboard either in *pipe-viewer(1)* or directly in
*mpv(1)*. If a given URL contains either 'youtube' or 'youtu.be', it will be
opened in pipe-viewer. Any other URLs will be opened directly using mpv.
*clipboard-content*
Open *pipe-viewer(1)* with the contents of the clipboard as search query.
*download-url*
open *yt-dlp(1)* with the contents of the clipboard to download the
resulting file.
# SEE ALSO
*mpv(1)*, *pipe-viewer(1)*, *yt-dlp(1)*