From 74d169974ab2c777189727e5fc41e84916dba878 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 16 Aug 2018 13:23:38 -0400 Subject: i3mpdupdate fix --- .scripts/i3mpdupdate | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.scripts/i3mpdupdate') diff --git a/.scripts/i3mpdupdate b/.scripts/i3mpdupdate index 9aa871f..95f16f6 100755 --- a/.scripts/i3mpdupdate +++ b/.scripts/i3mpdupdate @@ -1,4 +1,7 @@ -#!/bin/bash +#!/bin/sh + +[ "$(pgrep -x i3mpdupdate | wc -l)" -gt 2 ] && exit + while : ; do mpc idle > /dev/null pkill -RTMIN+11 i3blocks ; -- cgit v1.3.1