Modify the callbacks used by connect_signal to take the actual argument from
the signal rather than an array containing the arguments. This breaking change
was introduced by dbus_proxy 0.9.0.
It turns out that Awesome can automatically deal with GLib's main loop and we
don't need an external process to listen to pulseaudio's DBus. This greatly
simplifies the code since we:
- can merge the widget and widget_client files
- don't need to do all the string parsing but can modify the widget directly
Credit to https://github.com/psychon for raising the issue and providing sample
code.
Closes#1 (https://github.com/stefano-m/awesome-pulseaudio_widget/issues/1)
The widget will to its best to detect the active source.
- Updated client code to detect source changes and add object path information to
the volume and mute updated signals.
- Added new functions to toggle mute and change volume on the microphone. The
functions name have `_mic` appended.
- Refactored widget code to reduce duplication.
- Updated README with examples on how to add controls for the microphone to `rc.lua`.
- use Awesome 4.x API. This widget will not work with earlier versions.
- use the latest pulseaudio_dbus (v0.10.0) backed by dbus_proxy.
- use client script to listen to signals from pulseaudio to update the widget
status.
- update copyright notice
- refactor widget code
- update the documentation
- add rockspec for development
- add rockspec for version 0.2.0