X-Git-Url: https://git.draconx.ca/gitweb/fvwmconf.git/blobdiff_plain/25a02c0e784c071a1fd46e38fc11f858f3c6bf64..efc529eb5159bfce5fcfeabd4ca5e4d61ca1ee60:/global/mpdkeys diff --git a/global/mpdkeys b/global/mpdkeys new file mode 100644 index 0000000..897706b --- /dev/null +++ b/global/mpdkeys @@ -0,0 +1,19 @@ +# Copyright © 2023 Nick Bowler +# +# Misc MPD key bindings. +# +# License WTFPL2: Do What The Fuck You Want To Public License, version 2. +# This is free software: you are free to do what the fuck you want to. +# There is NO WARRANTY, to the extent permitted by law. + +Key Page_Up A CM Exec exec $[infostore.mpdexec_cmd] previous +Key Page_Down A CM Exec exec $[infostore.mpdexec_cmd] next +Key End A CM Exec exec $[infostore.mpdexec_cmd] stop +Key Home A CM Exec exec $[infostore.mpdexec_cmd] pause 1 +Key Insert A CM Exec exec $[infostore.mpdexec_cmd] play + +Mouse 4 A CM Exec exec $[infostore.mpdexec_cmd] previous +Mouse 5 A CM Exec exec $[infostore.mpdexec_cmd] next + +Test (!EnvMatch infostore.mpdexec_cmd *?) \ + InfoStoreAdd mpdexec_cmd "$[FVWM_USERDIR]/gitmodules/mpdhacks/mpdexec.pl"