made clipboard length customizable
This commit is contained in:
parent
b9e56f8cd4
commit
491fd04437
2 changed files with 10 additions and 2 deletions
|
@ -1,13 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
source "/usr/lib/sp-functions"
|
||||||
|
source "${conf_dir}/config"
|
||||||
|
|
||||||
cb_count=$(copyq count)
|
cb_count=$(copyq count)
|
||||||
cb_count=10
|
cb_count="${clipboard_length}"
|
||||||
|
|
||||||
wofilist=""
|
wofilist=""
|
||||||
|
|
||||||
for i in $(seq $cb_count);do
|
for i in $(seq $cb_count);do
|
||||||
cb_line="$( copyq read $((${i}-1)) | tr '\n' ' ' )"
|
cb_line="$( copyq read $((${i}-1)) | tr '\n' ' ' )"
|
||||||
echo "${cb_line}"
|
|
||||||
if [[ "${cb_line}" == "" ]];then
|
if [[ "${cb_line}" == "" ]];then
|
||||||
cb_line=$( copyq read ? "$((${i}-1))" | head -n 1 )
|
cb_line=$( copyq read ? "$((${i}-1))" | head -n 1 )
|
||||||
fi
|
fi
|
||||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
||||||
|
sway-profiles (0.3.6) unstable; urgency=medium
|
||||||
|
|
||||||
|
* make clipboard length customizable
|
||||||
|
|
||||||
|
-- Penelope Gwen <support@pogmom.me> Fri, 26 Jul 2024 13:29:45 -0600
|
||||||
|
|
||||||
sway-profiles (0.3.5) unstable; urgency=medium
|
sway-profiles (0.3.5) unstable; urgency=medium
|
||||||
|
|
||||||
* disable unnecessary waybar reload
|
* disable unnecessary waybar reload
|
||||||
|
|
Loading…
Add table
Reference in a new issue