add arduino to bashrc
[dotfiles.git] / music / .ncmpcpp / cover.sh
1 #!/bin/bash
2 shopt -s nullglob
3
4 file="$(mpc --format /mnt/data/music/%file% current)"
5 printf "\e]20;;100x100+1000+1000\a"
6 for c in "${file%/*}/cover."*; do
7 printf "\e]20;$c;50x50+1+94:op=keep-aspect\a"
8 done