From f2e8beab8af90db7a558ab647aa763acb4b455e5 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Tue, 17 Sep 2024 14:09:58 +0200 Subject: [PATCH] Icon thing --- src/bin/noise | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/noise b/src/bin/noise index d01cfef..fd365b7 100755 --- a/src/bin/noise +++ b/src/bin/noise @@ -1,8 +1,8 @@ #!/usr/bin/env nu - def notify [message: string] { - notify-send "Noise" $"($message)" + do { mpc -f "%file%" current | xargs -I{} mpc albumart {} } | save -f /tmp/mpc_current.png + notify-send "Noise" $"($message)" -i /tmp/mpc_current.png } # Displays the currently playing song