feat: add change wallpaper shortcut to yazi

This commit is contained in:
danny 2025-11-10 15:21:18 +08:00
parent d1f25b377f
commit c45ba82b90
18 changed files with 188 additions and 21 deletions

View file

@ -154,4 +154,39 @@ in
};
})
];
services.prometheus.alertmanager-ntfy = {
settings = {
http = {
addr = ":31006";
};
ntfy = {
baseurl = config.services.ntfy-sh.settings.base-url;
notification = {
topic = "alertmgr";
priority = ''
status == "firing" ? "urgent" : "default"
'';
tags = [
{
tag = "+1";
condition = ''status == "resolved"'';
}
];
templates = {
title = ''
{{ if eq .Status "resolved" }}Resolved: {{ end }}{{ index .Annotations "summary" }}
'';
description = ''
{{ index .Annotations "description" }}
'';
headers.X-Click = ''
{{ .GeneratorURL }}
'';
};
};
};
};
enable = true;
};
}