commit 42c9a897a24f34fc3f44c27e21cd9fd1d02891f5
parent aae4c2dc7bdcb4f7ad8c4faa95d97cfd22fa27d9
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 29 May 2020 09:35:55 +0200
Add binding for downloading and adding youtube song to mpd library and queue
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -119,6 +119,8 @@ bind C-p run "DISPLAY=:0 cclip -o -n | tmux load-buffer - ; tmux paste-buffer"
if-shell 'uname | grep -qi Darwin && which reattach-to-user-namespace > /dev/null' 'bind p run "pbpaste | tmux load-buffer - ; tmux paste-buffer"'
if-shell 'uname | grep -qi Cygwin' 'bind p run "cat /dev/clipboard | tmux load-buffer - ; tmux paste-buffer"'
+bind -T copy-mode-vi u send-keys -X copy-pipe-and-cancel "youtube-dl-music -t -a -m -q >~/.cache/youtube-dl-music.log 2>&1"
+
#### LAUNCH PROCESSES