dotfiles

Cem's Dotfiles
git clone git://git.ckyln.com/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5d472f973d50b6afd395723c21b6f54edbd0a55c
parent b7ef5ed8972cdc1578a7696e2bcc0e2f797f86f1
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}'