dot

packages and services management
Log | Files | Refs | README

commit 8e23ea91b36456a300892be5d41007d7652b0d25
parent a2d441d2ea82af8f29189e01a7f2d6f4bb8f94e5
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat,  1 Dec 2018 15:37:14 +0100

removed glitchy file names

Diffstat:
Dbin/mail-flag | 4----
Dbin/mail-sort | 28----------------------------
Mbin/mail-write | 59+++++++++++++++++++++++++++++------------------------------
Mdot/config/open/extension/png | 2+-
Dpack/9base/uri/6 5 4 3 2 1 | 0
Mpack/9base/version | 5-----
Dpack/execline/uri/2.5.0.1 2.5.0.0 | 0
Mpack/execline/version | 1-
Dpack/farbfeld/uri/3 git | 0
Mpack/farbfeld/version | 1-
Dpack/gnupg/uri/2.2.10 1.4.23 | 0
Dpack/less/uri/481 530 | 0
Apack/less/uri/530 | 1+
Mpack/less/version | 1-
Dpack/libressl/uri/2.8.2 2.6.0 | 0
Mpack/libressl/version | 1-
Dpack/libskarnet/uri/2.7.0.0 2.6.4.0 | 0
Mpack/libskarnet/version | 1-
Dpack/libtox/uri/0.1.10 0.2.7 | 0
Mpack/libtox/version | 1-
Mpack/mblaze/version | 1-
Dpack/mupdf/uri/1.13.0 1.12.0 | 0
Mpack/mupdf/version | 1-
Dpack/s6-dns/uri/2.3.0.1 2.3.0.0 | 0
Mpack/s6-dns/version | 1-
Dpack/s6-portable-utils/uri/2.2.1.2 2.2.1.1 | 0
Mpack/s6-portable-utils/version | 1-
Dpack/s6/uri/2.7.2.0 2.7.1.1 | 0
Mpack/s6/version | 1-
Dpack/tor/uri/0.3.4.8 0.3.1.8 | 0
Mpack/tor/version | 1-
31 files changed, 31 insertions(+), 80 deletions(-)

diff --git a/bin/mail-flag b/bin/mail-flag @@ -1,4 +0,0 @@ -#!/usr/bin/env execlineb -elgetpositionals - -mflag $@ diff --git a/bin/mail-sort b/bin/mail-sort @@ -1,28 +0,0 @@ -#!/usr/bin/env execlineb -backtick -n x { whoami } importas USER x -backtick -n x { homeof $USER } importas HOME x -multisubstitute { - importas -D ${HOME}/.mblaze MBLAZE MBLAZE - importas -D INBOX INBOX 1 - importas -D ${HOME}/mail MAILDIR MAILDIR -} - -cd $MAILDIR - -fdmove -c 1 2 - -forbacktickx -n x { ls ${MBLAZE}/sort } importas target x -if { mkdir -p ${target}/cur ${target}/new ${target}/tmp } -if { fdmove -c 1 2 printf "%-35s " $target } - -backtick -n x { - pipeline { cat ${MBLAZE}/sort/${target} } - tr "\n" " " -} importas rule x - -forbacktickx -n x { - pipeline { mlist $INBOX } - mpick -v -t $rule -} importas file x - -if { test ${file} != ${target}/new } mv $file ${target}/new diff --git a/bin/mail-write b/bin/mail-write @@ -1,45 +1,44 @@ #!/usr/bin/env execlineb -backtick -n USER { whoami } importas USER USER -backtick -n HOME { homeof $USER } importas HOME HOME -importas -D ${HOME}/.mblaze MBLAZE MBLAZE - -backtick -n x { mhdr -h sendmail ${MBLAZE}/profile } -importas -D "sendmail" mblaze-sm x +backtick -n USER { whoami } +importas USER USER -backtick -n x { mhdr -h sendmail-args ${MBLAZE}/profile } -importas -D "-t" mblaze-sm-args x +backtick -n HOME { homeof $USER } +importas HOME HOME -define -ns sendmail "${mblaze-sm} ${mblaze-sm-args}" +importas -D ${HOME}/.mblaze MBLAZE MBLAZE backtick -n x { mhdr -h outbox ${MBLAZE}/profile } importas -D ${maildir}/OUTBOX outbox x -backtick -n x { pipeline { dollarat -n -d "," } sed "s/, */, /g" } -importas To x +backtick -n x { redirfd -r 0 /dev/null mdeliver -v -c -XD ${outbox} } +importas draft x -backtick -n x { mgenmid } -importas Message-Id x +backtick -n To { pipeline { dollarat -n -d "," } sed "s/, */, /g" } +backtick -n Message-Id { mgenmid } +backtick -n Date { mdate } -elgetopt "b:c:s:f:" multisubstitute { - importas Cc ELGETOPT_c - importas Bcc ELGETOPT_b - importas Subject ELGETOPT_s - importas From ELGETOPT_f + importas -n Bcc Bcc + importas -n Cc Cc + importas -n Date Date + importas -n From From + importas -n Message-Id Message-Id + importas -n Subject Subject + importas -n To To } -backtick -n x { mhdr -h local-mailbox ${MBLAZE}/profile } -importas From x - -backtick -n x { mdate } -importas date x - -backtick -n x { - if { printf "%s: %s\n" - To $ - - } +if { + redirfd -w 1 ${draft} + if { echo To: ${To} } + if { echo Cc: ${Cc} } + if { echo Bcc: ${Bcc} } + if { echo Subject: ${Subject} } + if { echo From: ${From} } + if { echo Date: ${Date} } + if { echo Message-Id: ${Message-Id} } + if { museragent } + printf "\n\n" } -importas draft x +mail-draft ${draft} diff --git a/dot/config/open/extension/png b/dot/config/open/extension/png @@ -1,2 +1,2 @@ #!/usr/bin/env execlineb -background { pipeline { elgetpositionals redirfd 1 $1 png2ff } lel } +background { pipeline { elgetpositionals redirfd -r 1 $1 png2ff } lel } diff --git a/pack/9base/uri/6 5 4 3 2 1 b/pack/9base/uri/6 5 4 3 2 1 diff --git a/pack/9base/version b/pack/9base/version @@ -1,6 +1 @@ 6 -5 -4 -3 -2 -1 diff --git a/pack/execline/uri/2.5.0.1 2.5.0.0 b/pack/execline/uri/2.5.0.1 2.5.0.0 diff --git a/pack/execline/version b/pack/execline/version @@ -1,2 +1 @@ 2.5.0.1 -2.5.0.0 diff --git a/pack/farbfeld/uri/3 git b/pack/farbfeld/uri/3 git diff --git a/pack/farbfeld/version b/pack/farbfeld/version @@ -1,2 +1 @@ 3 -git diff --git a/pack/gnupg/uri/2.2.10 1.4.23 b/pack/gnupg/uri/2.2.10 1.4.23 diff --git a/pack/less/uri/481 530 b/pack/less/uri/481 530 diff --git a/pack/less/uri/530 b/pack/less/uri/530 @@ -0,0 +1 @@ +http://www.greenwoodsoftware.com/less/less-530.tar.gz diff --git a/pack/less/version b/pack/less/version @@ -1,2 +1 @@ -481 530 diff --git a/pack/libressl/uri/2.8.2 2.6.0 b/pack/libressl/uri/2.8.2 2.6.0 diff --git a/pack/libressl/version b/pack/libressl/version @@ -1,2 +1 @@ 2.8.2 -2.6.0 diff --git a/pack/libskarnet/uri/2.7.0.0 2.6.4.0 b/pack/libskarnet/uri/2.7.0.0 2.6.4.0 diff --git a/pack/libskarnet/version b/pack/libskarnet/version @@ -1,2 +1 @@ 2.7.0.0 -2.6.4.0 diff --git a/pack/libtox/uri/0.1.10 0.2.7 b/pack/libtox/uri/0.1.10 0.2.7 diff --git a/pack/libtox/version b/pack/libtox/version @@ -1,2 +1 @@ -0.1.10 0.2.7 diff --git a/pack/mblaze/version b/pack/mblaze/version @@ -1,2 +1 @@ git -0.2 diff --git a/pack/mupdf/uri/1.13.0 1.12.0 b/pack/mupdf/uri/1.13.0 1.12.0 diff --git a/pack/mupdf/version b/pack/mupdf/version @@ -1,2 +1 @@ 1.13.0 -1.12.0 diff --git a/pack/s6-dns/uri/2.3.0.1 2.3.0.0 b/pack/s6-dns/uri/2.3.0.1 2.3.0.0 diff --git a/pack/s6-dns/version b/pack/s6-dns/version @@ -1,2 +1 @@ 2.3.0.1 -2.3.0.0 diff --git a/pack/s6-portable-utils/uri/2.2.1.2 2.2.1.1 b/pack/s6-portable-utils/uri/2.2.1.2 2.2.1.1 diff --git a/pack/s6-portable-utils/version b/pack/s6-portable-utils/version @@ -1,2 +1 @@ 2.2.1.2 -2.2.1.1 diff --git a/pack/s6/uri/2.7.2.0 2.7.1.1 b/pack/s6/uri/2.7.2.0 2.7.1.1 diff --git a/pack/s6/version b/pack/s6/version @@ -1,2 +1 @@ 2.7.2.0 -2.7.1.1 diff --git a/pack/tor/uri/0.3.4.8 0.3.1.8 b/pack/tor/uri/0.3.4.8 0.3.1.8 diff --git a/pack/tor/version b/pack/tor/version @@ -1,2 +1 @@ 0.3.4.8 -0.3.1.8