~eddsalkield

Recent activity

[PATCH] himitsud: remove socket after crash 7 months ago

From Edd Salkield to ~whynothugo/superd-services

Currently if himitsud crashes, it leaves behind socket file
$XDG_RUNTIME_DIR/himitsu, which prevents himitsud from restarting.

This patch carefully checks on startup whether this file exists when
the current user is not running himitsud, and cleans it up if necessary.

---
 himitsud.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/himitsud.service b/himitsud.service
index 36db6d6..e9ae321 100644
--- a/himitsud.service
+++ b/himitsud.service
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 7 months ago

From Edd Salkield to ~sircmpwn/email-test-drive

---
 your-name | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 your-name

diff --git a/your-name b/your-name
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/your-name
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.40.1
[message trimmed]

[PATCH] foot: add service 7 months ago

From Edd Salkield to ~whynothugo/superd-services

---
 foot.service | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 foot.service

diff --git a/foot.service b/foot.service
new file mode 100644
index 0000000..f9153b0
--- /dev/null
+++ b/foot.service
@@ -0,0 +1,7 @@
[Unit]
Description=Fast, lightweight and minimalistic Wayland terminal emulator
Documentation=man:foot(1)
[message trimmed]

Re: Feature idea: Differential builds 9 months ago

From Edd Salkield to ~adnano/kiln-discuss

> For example, you might use the site.Generated timestamp
> in your site, which needs to be updated on every build.

Good point.

> Alternatively, I am open to adding a way to run or skip certain tasks
> instead of running all tasks every time.

Some sort of task-level setting to skip the task based on build time or 
something could be good.

> However, I think it might be
> best to use a Makefile or equivalent to compress the images instead of
> using kiln to do it.

Re: aerc 0.15.x regression: disappearing messages 9 months ago

From Edd Salkield to ~rjarry/aerc-discuss

Just in case this helps with debugging, it seems that this behaviour
also occurs for auto-deleted recalled messages.

Specifically, if there are several draft messages and one of them is
`recall`ed and sent, then when the sent email gets automatically
deleted, an adjacent message disappears.

Feature idea: unifying feeds and index pages 9 months ago

From Edd Salkield to ~adnano/kiln-discuss

I was dwelling on the design of kiln, and in particular how feeds are 
handled, in this blog post[1]. 
It seems to me like feeds are currently a special case of index 
pages, and I'm wondering if they can be unified. 

In particular, feeds are given a set of feed variables: `.Title`, 
`.Path`, `.URL`, and `.Pages`. However, these variables are a subset of 
the page variables. 

Are there any other aspects of rendering a feed that couldn't be done 
in an index page?

[1]: https://edd.salkield.uk/blog/2023/02/07/in_praise_of_kiln.html

Feature idea: Differential builds 9 months ago

From Edd Salkield to ~adnano/kiln-discuss

Currently I use kiln to compress my source images for faster downloading
on the web, in `config.toml` as follows:

```
[[tasks]]
input = [".jpg", ".jpeg", ".png"]
output = ".jpg"
preprocess.jpg = "magick /dev/stdin -strip -interlace Plane
-gaussian-blur 0.05 -quality 85% /dev/stdout"
output_dir = "public"
ugly_urls = true
```

However, this leads to quite slow build times.

Re: Documenting default values base template blocks 1 year, 3 months ago

From Edd Salkield to ~adnano/kiln-discuss

> I did update the documentation to reflect this. If you think it could
> be clearer, please send a patch.

Just revisited this when clearing out my inbox, and have sent a
mostly-trivial patch to indicate that defining template blocks is
optional.

[PATCH] docs: Clarify optional template block behaviour 1 year, 3 months ago

From Edd Salkield to ~adnano/kiln-devel

---
 docs/kiln.1.scd | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/kiln.1.scd b/docs/kiln.1.scd
index 4c5dca9..6dd4f5b 100644
--- a/docs/kiln.1.scd
+++ b/docs/kiln.1.scd
@@ -213,8 +213,8 @@ See *TEMPLATE FUNCTIONS* for more information.
## BASE TEMPLATES

Base templates are inherited only by page and index templates. Base templates
generally define at least one block which can be customized by page and index
templates, according to the Go templating language.
[message trimmed]

[PATCH gmnitohtml] Makefile: fix install 1 year, 4 months ago

From Edd Salkield to ~adnano/kiln-devel

Apologies for not catching this the first time around.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index b839b28..49d1a26 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ clean:
install:
	mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
	install -m755 gmnitohtml $(DESTDIR)$(BINDIR)/gmnitohtml
[message trimmed]