Browse Source

banshee listener

tags/Beta0.1
calexil 1 year ago
parent
commit
306feb011c
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      bansheecheck.sh

+ 12
- 0
bansheecheck.sh View File

@@ -0,0 +1,12 @@
#!/bin/bash

currentTrack="Calexil is listening to $title by $artist on $album"

while :
do
title=$(banshee --query-title | sed 's/title: //')
artist=$(banshee --query-artist | sed 's/artist: //')
album=$(banshee --query-album | sed 's/album: //')
echo "Calexil is listening to $title by $artist on $album"
sleep 6
done

Loading…
Cancel
Save