dotfiles/.bin/OLD/clipdl

11 lines
184 B
Plaintext
Raw Normal View History

2023-02-22 08:31:38 +01:00
#!/bin/sh
mkdir -p ~/clipdl
cd ~/clipdl
tmux new-session -s clipdl -d > /dev/null 2>&1
tmux new-window -t clipdl
tmux send-keys -t clipdl "yt-dlp \"$(xclip -r -o)\" && exit" Enter