Go to file
Siddharth Dushantha 776f567a8a
added new installation method
2019-03-05 17:51:23 +01:00
extra Delete mp4-to-gif.txt 2019-02-21 16:42:10 +01:00
.SRCINFO add PKGBUILD 2019-02-16 20:40:14 +01:00
.editorconfig Fix indentation inconsistency 2019-02-17 12:05:53 +00:00
LICENSE Initial commit 2019-02-12 19:50:25 +01:00
Makefile Add Makefile 2019-02-17 12:57:31 +00:00
PKGBUILD add PKGBUILD 2019-02-16 20:40:14 +01:00
README.md added new installation method 2019-03-05 17:51:23 +01:00
kunst disable CTRL-Z 2019-03-05 17:03:43 +01:00

README.md


Download and display album art or display embedded album art

kunst is a deamon that extracts the album art from the songs playing in mpd and displays them in the a little window. It doesn't loop on a timer, instead it waits for mpd to send a player event. When it receives a player event, it wakes up and extracts the album art of the current playing track. This makes kunstreally lightweight and makes it idle at ~0% CPU usage. If there no embbeded album art, it will try to fetch the album art from the internet.

Dependencies

  • sxiv
  • imagemagick
  • bash
  • ffmpeg
  • mpc
  • jq

Installation

Install using make

sudo make install

Install it locally

Method 1

Add kunst to a directory which is in your $PATH

Method 2

 curl git.io/raw-kunst > kunst && chmod +x kunst

Install from the AUR

AUR (maintained by networkpanic)

Usage

$ kunst --help
usage: kunst [-h] [--size px] [--music_dir path/to/dir] [--version]
 
┬┌─┬ ┬┌┐┌┌─┐┌┬┐
├┴┐│ ││││└─┐ │
┴ ┴└─┘┘└┘└─┘ ┴
Download and display album art or display embedded album art
 
optional arguments:
   -h, --help            show this help message and exit
   --size                what size to display the album art in
   --music_dir           the music directory which MPD plays from
   --version             show the version of kunst you are using

License

MIT License

Copyright © 2019 Siddharth Dushantha