From 7b21727285e50b0b050c4ddd70d07542229c5366 Mon Sep 17 00:00:00 2001 From: pants Date: Mon, 21 Sep 2026 14:17:03 -0700 Subject: init --- bin/playerctl-mon | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/playerctl-mon (limited to 'bin/playerctl-mon') 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 -- cgit v1.2.3