Icon thing

This commit is contained in:
Nox Sluijtman 2024-09-17 14:09:58 +02:00
parent e4fadc372d
commit f2e8beab8a

View file

@ -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