vdotfiles

Cem's Dotfiles for Void Linux
git clone git://git.ckyln.com/vdotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 338cde69c2b7d8abd758baa5c62b559fe14dd992
parent ff45035aaba094d158af9e2d3f3d6fd07f986289
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 26 Nov 2019 09:38:29 +0300

better handling

Diffstat:
M.local/bin/getmpd | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/getmpd b/.local/bin/getmpd @@ -1,3 +1,3 @@ #!/usr/bin/env sh mpc -f "[[%artist% - ]%title%]|[%file%]" 2>/dev/null | grep -v "volume:" | head -n 1 | tr '\n' ' ' -mpc | awk 'NR==2' | awk '{print $3}' +mpc 2>/dev/null | awk 'NR==2' | awk '{print $3}'