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=""
|
wofilist=""
|
||||||
|
|
||||||
for i in $(seq $cb_count);do
|
for i in $(seq $cb_count);do
|
||||||
cb_item="$(copyq read $((${i}-1)) | tr '\n' ' ')"
|
o="$((${i}-1))"
|
||||||
wofilist="${wofilist}\n${cb_item}"
|
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
|
done
|
||||||
|
|
||||||
echo -e "${wofilist}" | wofi -i --dmenu
|
echo -e "${wofilist}" | wofi -i --dmenu
|
||||||
|
|
Loading…
Add table
Reference in a new issue