Skip to content

Commit

Permalink
Mention --args in readme & provide example
Browse files Browse the repository at this point in the history
  • Loading branch information
OJFord committed Oct 16, 2020
1 parent 5a6224c commit f27d41d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ You can change the script configuration at the beginning of the file:

\*Check the [Useful icons](#useful-icons) section for examples.

Alternatively, these can be set via command-line arguments, such as:
```ini
[module/pulseaudio-control]
type = custom/script
exec = "polybar-pulseaudio-control --vol-max=150 --vol-icons='🔈 ,🔉 ,🔊 ' --sink-name-from-prop=device.description --osd"
```

refer to `polybar-pulseaudio-control help` for a full listing of the available options and their defaults.


## Module

Expand Down

0 comments on commit f27d41d

Please sign in to comment.