[StumpWM] Add ncmpcpp keybinds

This commit is contained in:
Lucien Cartier-Tilet 2021-10-02 14:21:31 +02:00
parent 4fe28fb965
commit cb1c697f66
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1259,14 +1259,16 @@ for my screens backlight.
Then, lets declare a keymap for our media controls.
#+name: media-management
#+caption: ~*my-media-keymap*~
| Keychord | Function |
|----------+-------------------|
| ~.~ | ~media-interactive~ |
| ~m~ | ~mpc-interactive~ |
| ~p~ | ~exec mpc prev~ |
| ~n~ | ~exec mpc next~ |
| ~t~ | ~exec mpc toggle~ |
| ~s~ | ~exec mpc stop~ |
| Keychord | Function |
|----------+-----------------------------|
| ~.~ | ~media-interactive~ |
| ~m~ | ~mpc-interactive~ |
| ~p~ | ~exec mpc prev~ |
| ~n~ | ~exec mpc next~ |
| ~t~ | ~exec mpc toggle~ |
| ~s~ | ~exec mpc stop~ |
| ~N~ | ~term ncmpcpp -q~ |
| ~v~ | ~term ncmpcpp -qs visualizer~ |
Lets translate this table in CommonLisp:
#+begin_src lisp