Merge pull request 'talk: chiron.jpeg notification icon' (#19) from feat/talk-chiron-icon into master

Reviewed-on: #19
This commit was merged in pull request #19.
This commit is contained in:
2026-07-02 19:26:03 +02:00
+6 -1
View File
@@ -2,12 +2,17 @@
lib,
stdenv,
writeShellScriptBin,
fetchurl,
curl,
python3,
mpv,
libnotify,
busybox,
}: let
icon = fetchurl {
url = "https://s3.m3tam3re.com/public/chiron.jpeg";
hash = "sha256-LIIR3aqJ5ePsZuvVQxJ70c6yd+L85fLE5uY/fLE5Ypo=";
};
script = writeShellScriptBin "talk" ''
#!/usr/bin/env bash
set -euo pipefail
@@ -76,7 +81,7 @@
exec "$NOTIFY" \
--action=cancel=" Abbrechen" \
--urgency=normal \
--icon=audio-x-generic \
--icon=${icon} \
"🔊 KI Antwort" \
"$TEXT" > "$ACTION_FILE" 2>/dev/null
) &