v2.0
Breaking changes
- This module is now configured via command line options! This is much more flexible than editing the script. It makes it possible to re-use the script for multiple configurations, it's easier to update it, and it can now be packaged in your favorite distro's repositories. You can use both
--option=value
and--option value
. The actions remain the same. These are the changes (read the README.md for more details):OSD
is now--osd
or--no-osd
INC
is now--volume-step
MAX_VOL
is now--volume-max
AUTOSYNC
is now--autosync
or--no-autosync
VOLUME_ICONS
is now--icons-volume
MUTED_ICON
is now--icon-muted
MUTED_COLOR
is now--color-muted
NOTIFICATIONS
is now--notifications
or--no-notifications
SINK_ICON
is now--icon-sink
SINK_BLACKLIST
is now--sink-blacklist
SINK_NICKNAMES
is now--sink-nickname
New
--sink-nicknames-from <prop>
: pacmd property to use for sink names, unless overriden by--sink-nickname
. Its possible values are listed under the 'properties' key in the output ofpacmd list-sinks
. This is a helpful fallback value for new devices, and I suggest using something likedevice.description
.- Some fixes to the README to improve the documentation
Most of these changes are thanks to @OJFord! If you have any suggestions/complaints, do open a new issue.