diff options
author | dx <aryadevchavali1@gmail.com> | 2020-07-12 00:52:57 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-07-12 02:56:10 +0100 |
commit | 9c43bb08187548bdaea67371dcd6d9070739a2ca (patch) | |
tree | c45e0b9c0e996f7a3428da1df22c4211dc92d6f4 /Scripts | |
parent | bccf602ecba88906d1e8bf416ccf12ee0223918c (diff) | |
download | dotfiles-9c43bb08187548bdaea67371dcd6d9070739a2ca.tar.gz dotfiles-9c43bb08187548bdaea67371dcd6d9070739a2ca.tar.bz2 dotfiles-9c43bb08187548bdaea67371dcd6d9070739a2ca.zip |
+script: show album art for playing track on mpd
Diffstat (limited to 'Scripts')
-rwxr-xr-x | Scripts/.local/scripts/mpd_album_art | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Scripts/.local/scripts/mpd_album_art b/Scripts/.local/scripts/mpd_album_art new file mode 100755 index 0000000..6aa4964 --- /dev/null +++ b/Scripts/.local/scripts/mpd_album_art @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +rawtrack="$(mpc -f '%file%' | head -1)"; +filename="/home/dx/Media/Music/$rawtrack" +feh --title "album" "$filename" |