Skip to content

Commit 556ce4f

Browse files
Update README
fix #14
1 parent ca68e31 commit 556ce4f

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
# Recent menu
22

3-
It works, just works
3+
Recently played menu for mpv integrated with uosc.
4+
5+
## Getting started
6+
7+
[tomasklaen/uosc](https://github.com/tomasklaen/uosc) is required.
8+
9+
[Menu](https://github.com/tomasklaen/uosc#adding-items-to-menu) - add following to `input.conf`.
410

511
```ini
612
# script-binding recentmenu/open #! Recently played
713
```
814

9-
If you want an entry in the controls bar of uosc, you can add the following to the `controls=` entry in your `uosc.conf`:
15+
[Controls](https://github.com/tomasklaen/uosc#set-prop-value) - add following to `uosc.conf#controls`.
1016

1117
```ini
1218
command:history:script-message-to recentmenu open?Recently played
1319
```
1420

15-
- Pick your desired title instead of `Recently played`
16-
- Pick another icon instead of `history` from [Google Material Icons](https://fonts.google.com/icons?selected=Material+Icons)
21+
## Options
22+
23+
```ini
24+
path = "~~/recent.json" # where the history is stored
25+
length = 10 # number of items
26+
width = 88 # number of characters for the item
27+
ignore_same_series = yes # similar file names only record the most recent one
28+
```

0 commit comments

Comments
 (0)