This commit is contained in:
2025-07-02 00:07:49 -07:00
commit c208c6b35d
114 changed files with 71862 additions and 0 deletions

9
bin/st-dbus-mon Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
dbus-monitor --session "member='PropertiesChanged'" |
while read X; do
if [[ $X == *"Metadata"* ]]; then
TITLE=$(playerctl metadata title)
ARTIST=$(playerctl metadata artist)
notify-send "Now playing" "$TITLE - $ARTIST" -i :
fi
done