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, lib,
stdenv, stdenv,
writeShellScriptBin, writeShellScriptBin,
fetchurl,
curl, curl,
python3, python3,
mpv, mpv,
libnotify, libnotify,
busybox, busybox,
}: let }: let
icon = fetchurl {
url = "https://s3.m3tam3re.com/public/chiron.jpeg";
hash = "sha256-LIIR3aqJ5ePsZuvVQxJ70c6yd+L85fLE5uY/fLE5Ypo=";
};
script = writeShellScriptBin "talk" '' script = writeShellScriptBin "talk" ''
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
@@ -76,7 +81,7 @@
exec "$NOTIFY" \ exec "$NOTIFY" \
--action=cancel=" Abbrechen" \ --action=cancel=" Abbrechen" \
--urgency=normal \ --urgency=normal \
--icon=audio-x-generic \ --icon=${icon} \
"🔊 KI Antwort" \ "🔊 KI Antwort" \
"$TEXT" > "$ACTION_FILE" 2>/dev/null "$TEXT" > "$ACTION_FILE" 2>/dev/null
) & ) &