Skip to content

Commit

Permalink
Clarify argument documentation slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouly committed Feb 9, 2021
1 parent 7a5316c commit b5982ef
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
Simple dmenu frontend for MPD.
# mpdmenu

# Arguments
Simple [dmenu](https://tools.suckless.org/dmenu/) frontend for [MPD](https://www.musicpd.org/).

Pass mpdmenu arguments first, followed by any dmenu arguments. They are separated by `::`. For example:
### Usage

mpdmenu -p :: -sb '#000000'
$ mpdmenu [-p | -l] [:: DMENU_ARGS]
-p playlist mode, selects a track from the current playlist
-l library mode (default), descends artists and albums

Additional arguments for `dmenu` can be passed after `::`.
For example:

`-l` is library mode (default), which descends artists and albums. `-p` is
playlist mode, which selects a track from the current playlist.
mpdmenu -p :: -sb '#000000'

0 comments on commit b5982ef

Please sign in to comment.