Sfoglia il codice sorgente

banshee listener

tags/Beta0.1
calexil 3 anni fa
parent
commit
306feb011c
1 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 12
    0
      bansheecheck.sh

+ 12
- 0
bansheecheck.sh Vedi 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…
Annulla
Salva