dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit c7700ee48e74f08f58e0ff02b0c11dfa42a737b6
parent f8d42d53beb789bba58d7adc29a64352b9915b34
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  1 Jul 2020 18:38:05 +0200

Add script to create queue with random album

Diffstat:
A.local/bin/mpc-random-album.sh | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.local/bin/mpc-random-album.sh b/.local/bin/mpc-random-album.sh @@ -0,0 +1,5 @@ +#!/bin/sh +a="$(mpc list album | sort -R | head -1)" +mpc clear >/dev/null +mpc findadd album "$a" +mpc playlist