summaryrefslogtreecommitdiff
path: root/functions.config
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-10 22:40:26 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-10 22:40:26 +0100
commitfdba43f735f220a138d80927376dd6b4e0401085 (patch)
tree26c8f9c10319342a555b4046f3f0587a0a8f91fd /functions.config
parent505c6a0e3897eb1b5a23f85de668612dad4f2d4d (diff)
MPDControl: switch to using mpc instead of echo.
This adds a dependency on mpc, but allows for more advanced controls. Add new bindings to control volume.
Diffstat (limited to 'functions.config')
-rw-r--r--functions.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.config b/functions.config
index b0c36ea..828dc2a 100644
--- a/functions.config
+++ b/functions.config
@@ -82,7 +82,7 @@ AddToFunc RandomWall
DestroyFunc MPDControl
AddToFunc MPDControl
-+ I Exec /bin/echo -e "$0\nclose"|nc -q -1 localhost 6600
++ I Exec mpc -q $*
############################
#Don't steal focus