#!/bin/sh # Selects a string from a file of frequently used strings file="$HOME/.config/quicktext" dmenu -l "$(wc -l "$file")" -p "🗒️" <"$file" | xsel -bi