New backup 2024-04-11 20:30:03
This commit is contained in:
parent
4f14fb3017
commit
146967f8db
1 changed files with 6 additions and 2 deletions
|
@ -6,8 +6,12 @@ cb_count=2
|
|||
wofilist=""
|
||||
|
||||
for i in $(seq $cb_count);do
|
||||
cb_item="$(copyq read $((${i}-1)) | tr '\n' ' ')"
|
||||
wofilist="${wofilist}\n${cb_item}"
|
||||
o="$((${i}-1))"
|
||||
cb_item="$( copyq read ${o} )"
|
||||
echo "${cb_item}"
|
||||
cb_line="$( echo ${cb_item} | tr '\n' ' ' )"
|
||||
echo "${cb_line}"
|
||||
wofilist="${wofilist}\n${i}. ${cb_line}"
|
||||
done
|
||||
|
||||
echo -e "${wofilist}" | wofi -i --dmenu
|
||||
|
|
Loading…
Add table
Reference in a new issue