commit 702070b13b0d8d74a1b6bd08664f05098d10d869
parent 5d9b378f874c2a63a9f5e1c63fcd5d004fcd5748
Author: Anders Damsgaard <andersd@riseup.net>
Date: Mon, 27 Nov 2017 13:53:14 -0500
control MPD with Control+Alt keybinds
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/links/.tmux.conf b/links/.tmux.conf
@@ -183,6 +183,12 @@ bind -Tmpd b display "#(mpc prev | tr '\n' ' ')"
bind -Tmpd r display "#(mpc clear && mpc ls | mpc add && mpc random on && mpc play | tr '\n' ' ')"
#bind -Tmpd r new-window -n mpc "mpc clear && mpc ls | mpc add && mpc shuffle && mpc play"
+bind-key -n C-M-p display "#(mpc toggle | tr '\n' ' ')"
+bind-key -n C-M-s display "#(mpc stop | tr '\n' ' ')"
+bind-key -n C-M-n display "#(mpc next | tr '\n' ' ')"
+bind-key -n C-M-b display "#(mpc prev | tr '\n' ' ')"
+bind-key -n C-M-r display "#(mpc clear && mpc ls | mpc add && mpc random on && mpc play | tr '\n' ' ')"
+
# Use alternate prefix (C-b) for grouping music-control bindings
#bind -n C-b switchc -Tmoreprefix
#bind -n -Tmoreprefix v new-window -n vimpc "vimpc"