diff options
Diffstat (limited to '.config')
-rwxr-xr-x | .config/herbstluftwm/mpc-status.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/herbstluftwm/mpc-status.sh b/.config/herbstluftwm/mpc-status.sh index 26e249c..1c44eee 100755 --- a/.config/herbstluftwm/mpc-status.sh +++ b/.config/herbstluftwm/mpc-status.sh @@ -26,8 +26,9 @@ fi cd ~/music/ dir=$(dirname "$(mpc current -f %file%)") -# copying is necessary because notify-send can't into icon paths containing commas -cp "$dir/cover-small.png" /tmp/mpd-icon.png +# linking is necessary because notify-send can't into icon paths containing commas +cd /tmp/ +ln -sf "$HOME/music/$dir/cover-small.png" mpd-icon.png message="$(mpc current -f '##%track% %title% (%date%)\n%artist% - %album%') |