summaryrefslogtreecommitdiffstats
path: root/.xprofile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-09-24 07:12:43 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-09-24 07:12:43 -0400
commitdc464e5bbbc38c4691294b0fd015a4256bb90ec2 (patch)
treeca0edbbbf7c82c4851438e5f4a7dffad0101e422 /.xprofile
parentc7d5707e1eab3199986a7d9031d5b6e10ea40e5a (diff)
downloadeibhear-dc464e5bbbc38c4691294b0fd015a4256bb90ec2.tar.gz
eibhear-dc464e5bbbc38c4691294b0fd015a4256bb90ec2.tar.zst
eibhear-dc464e5bbbc38c4691294b0fd015a4256bb90ec2.zip
mpd-module-update with break
Diffstat (limited to '.xprofile')
-rw-r--r--.xprofile7
1 files changed, 1 insertions, 6 deletions
diff --git a/.xprofile b/.xprofile
index 1593699..81ad4f4 100644
--- a/.xprofile
+++ b/.xprofile
@@ -15,9 +15,4 @@ dunst & # dunst for notifications
sxhkd & # Bind keys with sxhkd
xset r rate 300 50 & # Speed xrate up
unclutter & # Remove mouse when idle
-
-# This loop will update the mpd statusbar module whenever a command changes the
-# music player's status. mpd must be running on X's start for this to work.
-while pgrep -x mpd >/dev/null; do
- mpc idle >/dev/null; pkill -RTMIN+11 dwmblocks
-done
+mpd-module-update & # Check for when to update the mpd module