mirror of
https://github.com/bvanroll/_dotfiles.git
synced 2025-08-30 12:32:41 +00:00
initial commit
This commit is contained in:
27
.config/i3blocks/ytdl-mpv/README.md
Normal file
27
.config/i3blocks/ytdl-mpv/README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# ytdl-mpv
|
||||
|
||||
Play youtube videos (any video compatible with youtube-dl) from your clipboard.
|
||||
Left click for video, middle click for audio, right click to kill all instances of mpv.
|
||||
|
||||

|
||||
|
||||
# Requirements
|
||||
|
||||
Dependencies: fonts-font-awesome, mpv, xclip, youtube-dl, perl, Data::Validate::URI perl module
|
||||
(libdata-validate-uri-perl package)
|
||||
|
||||
# Installation
|
||||
|
||||
The recommended i3blocks config is
|
||||
|
||||
```INI
|
||||
[ytdl-mpv]
|
||||
command=$SCRIPT_DIR/ytdl-mpv
|
||||
markup=pango
|
||||
interval=once
|
||||
signal=4
|
||||
#PLAYING_COLOR=red
|
||||
#NOT_PLAYING_COLOR=white
|
||||
```
|
||||
|
||||
Copy a youtube URL into your clipboard and then click on the blocklet to make sure everything works.
|
Reference in New Issue
Block a user