This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.local/bin/statusbar/sb-mpdup

17 lines
462 B
Plaintext
Raw Normal View History

#!/usr/bin/env sh
######################################################################
# @author : swytch (adapted from Luke Smith - lukesmith.xyz)
# @file : sb-mpdup
# @license : GPLv3
# @created : Saturday Feb 13, 2021 18:04:04 CET
#
# @description : update music block for dwmblocks
######################################################################
while : ; do
mpc idle >/dev/null && kill -39 $(pidof dwmblocks) || break
done