]> gitweb.fluxo.info Git - utils-x11.git/commitdiff
Spoolpaste: minor fix
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 7 Oct 2018 23:37:32 +0000 (20:37 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 7 Oct 2018 23:37:32 +0000 (20:37 -0300)
spoolpaste

index 2a373240c981034c50fd040047a4b094e919cf17..bc359e0704bfd2a3f3bba25e49fd36b5db8eefe5 100755 (executable)
@@ -22,7 +22,7 @@ if [ ! -z "$1" ]; then
 
   echo Set $SPOOL to "$*"
 else
-  echo -e "\n    [...]\n"                 >> $SPOOL
+  echo -e "\n\n    [...]\n"               >> $SPOOL
   xclip -o | sed -e 's/^\([^ ]\)/    \1/' >> $SPOOL
 
   truncated="$(xclip -o | tr '"' "'" | tr '\n' ' ' | cut -c 1-30)..."