13 lines
227 B
Bash
Executable file
13 lines
227 B
Bash
Executable file
#!/bin/bash
|
|
|
|
#cb_count=$(copyq count)
|
|
cb_count=2
|
|
|
|
wofilist=""
|
|
|
|
for i in $(seq $cb_count);do
|
|
cb_item="$(copyq read $((${i}-1)) | tr '\n' ' ')"
|
|
wofilist="${wofilist}\n${cb_item}"
|
|
done
|
|
|
|
echo -e "${wofilist}" | wofi -i --dmenu
|