aboutsummaryrefslogtreecommitdiff
path: root/scripts/scripts/music.sh
blob: 1de3bc0e56ece906f5c823b0e89bab690e4d6916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

while getopts abt options
do
	case $options in
		a)
            cmus-remote -Q | grep tag\ artist\ | sed 's/tag artist //'
			;;
		b)
            cmus-remote -Q | grep tag\ album\ | sed 's/tag album //'
			;;
        t)
            cmus-remote -Q | grep tag\ title\ | sed 's/tag title //'
			;;
	esac
done