[StumpWM] Add ncmpcpp keybinds
This commit is contained in:
parent
4fe28fb965
commit
cb1c697f66
@ -1259,14 +1259,16 @@ for my screen’s backlight.
|
||||
Then, let’s 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~ |
|
||||
|
||||
Let’s translate this table in CommonLisp:
|
||||
#+begin_src lisp
|
||||
|
Loading…
Reference in New Issue
Block a user