summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot-config/rofi/scripts/cliphist-rofi-img6
1 files changed, 4 insertions, 2 deletions
diff --git a/dot-config/rofi/scripts/cliphist-rofi-img b/dot-config/rofi/scripts/cliphist-rofi-img
index c30a627d..70a32aa9 100755
--- a/dot-config/rofi/scripts/cliphist-rofi-img
+++ b/dot-config/rofi/scripts/cliphist-rofi-img
@@ -19,7 +19,9 @@ match(\$0, /^([0-9]+)\s(\[\[\s)?binary.*(jpg|jpeg|png|bmp)/, grp) {
1
EOF
# echo $(cat "$tmp_dir/cliphist")
-# get last 10 lines and merge them
+# format: <id>\t<100 char preview> remove the ID
+
+
# cat "$tmp_dir/cliphist"
-cliphist list | gawk "$prog" &
+cliphist list | head -n 100 | gawk "$prog" &