dotfiles/.bin/OLD/clipdl
2024-02-14 07:55:58 +01:00

11 lines
184 B
Bash
Executable File

#!/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