From 9c43bb08187548bdaea67371dcd6d9070739a2ca Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 12 Jul 2020 00:52:57 +0100 Subject: +script: show album art for playing track on mpd --- Scripts/.local/scripts/mpd_album_art | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 Scripts/.local/scripts/mpd_album_art (limited to 'Scripts') 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" -- cgit v1.2.3-13-gbd6f