Skip to content

Commit bcf864d

Browse files
author
Tristan Ferrua
authored
Merge pull request #11 from GuardKenzie/indev
Playlist view
2 parents b711231 + 9a9772f commit bcf864d

File tree

5 files changed

+302
-102
lines changed

5 files changed

+302
-102
lines changed

README.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The config file is located at `~/.config/miniplayer/config`. The example configu
3535
* ***volume_step*:** The ammount (in percents) the volume will be adjusted on pressing the volume up and volume down keys.
3636
* ***album_art_only*:** Whether or not to only draw the album art and no other track info (`true/false`).
3737
* ***auto_close*:** Whether or not to automatically close the player once the mpd playlist has concluded (`true/false`).
38+
* ***show_playlist*:** Whether or not to show the playlist view.
3839

3940

4041
#### mpd
@@ -44,7 +45,7 @@ The config file is located at `~/.config/miniplayer/config`. The example configu
4445

4546

4647
#### keybindings
47-
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
48+
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
4849
* `play_pause`
4950
* `next_track`
5051
* `last_track`
@@ -53,20 +54,26 @@ This section allows you to change the keybinds for the player. The format for a
5354
* `toggle_info`
5455
* `help`
5556
* `quit`
57+
* `select_down`
58+
* `select_up`
59+
* `select`
5660

5761

5862
## Default keybinds
5963

60-
| Key | function |
61-
|-----|---------------|
62-
| h | Show keybinds |
63-
| p | Play/pause |
64-
| > | Next track |
65-
| < | Last track |
66-
| q | Quit |
67-
| + | Volume up |
68-
| - | Volume down |
69-
| i | Toggle info |
64+
| Key | function |
65+
|-------|---------------------|
66+
| h | Show keybinds |
67+
| p | Play/pause |
68+
| > | Next track |
69+
| < | Last track |
70+
| q | Quit |
71+
| + | Volume up |
72+
| - | Volume down |
73+
| i | Toggle info |
74+
| Up | Selection up |
75+
| Down | Selection down |
76+
| Enter | Play selected song |
7077

7178
These keybinds can be changed by editing the config file. See the [`config.example`](config.example) file for the format.
7279

@@ -78,3 +85,8 @@ If this does not work, try changing `image_method` from `pixcat` to `ueberzug` o
7885

7986
2. **Q:** Album art is too big/too small.
8087
**A:** You need to configure `font_height` and `font_width`. Their values should be the actual pixel height and width of a character in your terminal.
88+
89+
90+
## More screenshots!
91+
92+
![playlist](img/playlist.png)

0 commit comments

Comments
 (0)