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