Icon thing
This commit is contained in:
parent
e4fadc372d
commit
f2e8beab8a
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env nu
|
#!/usr/bin/env nu
|
||||||
|
|
||||||
|
|
||||||
def notify [message: string] {
|
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
|
# Displays the currently playing song
|
||||||
|
|
Loading…
Reference in a new issue