diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:03 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:03 -0700 |
| commit | 7b21727285e50b0b050c4ddd70d07542229c5366 (patch) | |
| tree | 5d369153c5df5b41f3750d25479a68f20169c8ff /bin/playerctl-mon | |
init
Diffstat (limited to 'bin/playerctl-mon')
| -rwxr-xr-x | bin/playerctl-mon | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/playerctl-mon b/bin/playerctl-mon new file mode 100755 index 0000000..9d02d80 --- /dev/null +++ b/bin/playerctl-mon @@ -0,0 +1,8 @@ +#!/bin/sh +playerctl --follow metadata title | + while read x; do + dunstctl close-all + TITLE=$(playerctl metadata title) + ARTIST=$(playerctl metadata artist) + notify-send "$TITLE" "$ARTIST" -i : + done |
