1 # Copyright © 2023 Nick Bowler
3 # Misc MPD key bindings.
5 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
6 # This is free software: you are free to do what the fuck you want to.
7 # There is NO WARRANTY, to the extent permitted by law.
9 Key Page_Up A CM Exec exec $[infostore.mpdexec_cmd] previous
10 Key Page_Down A CM Exec exec $[infostore.mpdexec_cmd] next
11 Key End A CM Exec exec $[infostore.mpdexec_cmd] stop
12 Key Home A CM Exec exec $[infostore.mpdexec_cmd] pause 1
13 Key Insert A CM Exec exec $[infostore.mpdexec_cmd] play
15 Mouse 4 A CM Exec exec $[infostore.mpdexec_cmd] previous
16 Mouse 5 A CM Exec exec $[infostore.mpdexec_cmd] next
18 Test (!EnvMatch infostore.mpdexec_cmd *?) \
19 InfoStoreAdd mpdexec_cmd "$[FVWM_USERDIR]/gitmodules/mpdhacks/mpdexec.pl"