Subversion Repositories mysets

Rev

Rev 176 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 zsolt 1
#!/bin/sh
2
 
176 zsolt 3
song=`mpc playlist | rofi -dmenu -i -l 30 -b -nb "#000" -nf "#7af" -sb "#000" -sf "#bdf" -p "Find:" | cut -d')' -f1`
153 zsolt 4
song="`mpc playlist | awk '{if($0 == "'"${song}"'") {print NR}}'`"
4 zsolt 5
 
153 zsolt 6
[ -n "${song}" ] && mpc play "${song}"
4 zsolt 7