aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xScripts/.local/scripts/mpd_album_art6
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"