Re: [dev] volume level in dwm taskbar

From: Le Tian <tianeast_AT_gmail.com>
Date: Mon, 20 Jun 2011 12:07:48 +0300

On Mon, Jun 20, 2011 at 12:05 PM, Nick <suckless-dev_AT_njw.me.uk> wrote:

> On Mon, Jun 20, 2011 at 12:00:38PM +0300, Le Tian wrote:
> > As long as "aumix -q" refuses to work after the latest update, what you
> guys
> > use to probe volume level? "amixer" could be an alternative but it
> outputs
> > crap, that is difficult to awk.
>
> It isn't great, but I use 'amixer sget PCM' and awk from
> that. Or I use a little C utility I wrote which links to the
> (rather ugly) alsa library functions.
>
> Nick
>
> you mean "amixer sget Master", yes, that is way better, thanks!

-- 
Tian
Received on Mon Jun 20 2011 - 11:07:48 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 20 2011 - 11:12:08 CEST