Updated the readme

This commit is contained in:
GuardKenzie
2021-05-13 01:43:12 +00:00
parent 11128b7d06
commit 47ea125fdd

View File

@ -45,7 +45,7 @@ The config file is located at `~/.config/miniplayer/config`. The example configu
#### keybindings #### keybindings
This section allows you to change the keybinds for the player. The format for a keybind is `key = action` (for example `p = play_pause`). Available actions are This section allows you to change the keybinds for the player. The format for a keybind is `key = action` (for example `p = play_pause` or `left = last_track`). Available actions are
* `play_pause` * `play_pause`
* `next_track` * `next_track`
* `last_track` * `last_track`
@ -54,12 +54,15 @@ This section allows you to change the keybinds for the player. The format for a
* `toggle_info` * `toggle_info`
* `help` * `help`
* `quit` * `quit`
* `select_down`
* `select_up`
* `select`
## Default keybinds ## Default keybinds
| Key | function | | Key | function |
|-----|---------------| |-------|---------------------|
| h | Show keybinds | | h | Show keybinds |
| p | Play/pause | | p | Play/pause |
| > | Next track | | > | Next track |
@ -68,6 +71,9 @@ This section allows you to change the keybinds for the player. The format for a
| + | Volume up | | + | Volume up |
| - | Volume down | | - | Volume down |
| i | Toggle info | | i | Toggle info |
| Up | Selection up |
| Down | Selection down |
| Enter | Play selected song |
These keybinds can be changed by editing the config file. See the [`config.example`](config.example) file for the format. These keybinds can be changed by editing the config file. See the [`config.example`](config.example) file for the format.