1 2 3 4 5 6 7
#!/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