made clipboard length customizable

This commit is contained in:
Penelope Gwen 2024-07-26 13:31:05 -06:00
parent b9e56f8cd4
commit 491fd04437
2 changed files with 10 additions and 2 deletions

View file

@ -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

6
debian/changelog vendored
View file

@ -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
* disable unnecessary waybar reload