dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 0caade59d11c5ac4a6b62b1e2386711e7809cfbb
parent 3c1247e7dd87d181ccdce66250af445b5667543e
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Wed, 19 Dec 2018 09:35:46 -0500

mpdupdate returns

Diffstat:
A.scripts/statusbar/mpdupdate | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/.scripts/statusbar/mpdupdate b/.scripts/statusbar/mpdupdate @@ -0,0 +1,9 @@ +#!/bin/sh + +[ "$(pgrep -x "$(basename "$0")" | wc -l)" -gt 2 ] && exit + +while : ; do + pgrep -x mpd || exit + mpc idle > /dev/null + pkill -RTMIN+11 i3blocks ; +done