Volume control for PulseAudio

The Awesome PulseAudio Widget is just a little widget to control and display the default sink of PulseAudio using awful ProgressBar.

Get it
cd $XDG_CONFIG_HOME/awesome/ git clone https://github.com/mokasin/apw.git

Use it
Just put these line to the appropriate places in $XDG_CONFIG_HOME/awesome/rc.lua.

-- Load the widget. local APW = require("apw/widget") -- Example: Add to wibox. Here to the right. Do it the way you like it. right_layout:add(APW) -- Configure the hotkeys. awful.key({ }, "XF86AudioRaiseVolume", APW.Up), awful.key({ }, "XF86AudioLowerVolume", APW.Down), awful.key({ }, "XF86AudioMute",        APW.ToggleMute),

Tip
You could update the widget periodically if you'd like. In case, the volume is changed from somewhere else.

APWTimer = timer({ timeout = 0.5 }) -- set update interval in s   APWTimer:connect_signal("timeout", AWP.Update) APWTimer:start

Problems?
File an issue on Github.

Awesome 3.4
A version of this widget that works for awesome 3.4 can be found at https://github.com/jlep/apw.git