#!/bin/sh # Construct a memebot query from a list of memes and entered text. meme=$(dmenu -l 10 -p "Which meme?" < ~/.local/bin/.memes) echo Top text? read top echo Bottom text? read bottom echo "$top,$bottom | $meme" | xclip -i echo Copied.