Skip to content

shrx/ASCIICover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 

Repository files navigation

ASCIICover

ASCIICover is a simple bash script to display the album art of a currently playing song in a terminal window. This is done using libcaca's image conversion tool, img2txt.

Screenshot

Prerequisites, dependencies

You need to have libcaca and mpc installed for this script to work. Libcaca must be compiled with imlib2 support. You also need to have mpd for playing music.

Usage

Run the script when you want to see the album art of the current song that is playing in mpd.

The script will show the album's cover image if there's a file named folder.jpg in the song's directory.

You can use the option -r to resize the window to a square dimension automatically on script start. If you want to manually refresh the script while running, for example if you added an image after you've already started playing the song, you can press r. If you use iTerm, you can also try the experimental option -d or -D which enables the high-pixel-density modes by using a smaller font. As of now, you can terminate the script by two commands: Ctrl+c or q.

About

Ascii album art for currently playing song in mpd.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages