diff --git a/bin/sp-clipboard b/bin/sp-clipboard index f2011cd..a7bcf91 100755 --- a/bin/sp-clipboard +++ b/bin/sp-clipboard @@ -1,13 +1,15 @@ #!/bin/bash +source "/usr/lib/sp-functions" +source "${conf_dir}/config" + cb_count=$(copyq count) -cb_count=10 +cb_count="${clipboard_length}" wofilist="" for i in $(seq $cb_count);do cb_line="$( copyq read $((${i}-1)) | tr '\n' ' ' )" - echo "${cb_line}" if [[ "${cb_line}" == "" ]];then cb_line=$( copyq read ? "$((${i}-1))" | head -n 1 ) fi diff --git a/debian/changelog b/debian/changelog index dc8b1d3..9791faf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sway-profiles (0.3.6) unstable; urgency=medium + + * make clipboard length customizable + + -- Penelope Gwen Fri, 26 Jul 2024 13:29:45 -0600 + sway-profiles (0.3.5) unstable; urgency=medium * disable unnecessary waybar reload