Re: [dev] My dwmstatusbar.c

From: Rob <robpilling_AT_gmail.com>
Date: Mon, 7 Jan 2013 22:06:56 +0000

On Sun, Dec 30, 2012 at 05:01:10PM +0100, Mariano Bono wrote:
> Hi all,
> I'm a new dwm user and i've written a simple dwmstatusbar app that
> show volume and time.
> The code relative to volume use alsalib and maybe someone can find it
> useful.
> Critics and suggestion are welcome.

Here's one for you all - my keyboard has a scroll wheel, and I currently
have it hooked via dwm to run an external shell script to
increase/decrease the volume. I find that if my machine's under
heavy-ish load (or if I scroll a lot), multiple processes open and all
try to increment the volume to the same target. Too many cooks spoil the
broth and we end up going quite slowly.

I was thinking of linking dwm with alsa and doing all of the volume
control inside dwm. Before you start flaming, I realise dwm is a window
manager, not a volume control, which is why I'm writing to the list -
anyone got any smart ideas about this?

Cheers,
Rob
Received on Mon Jan 07 2013 - 23:06:56 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 07 2013 - 23:12:04 CET