Re: [dev] My dwmstatusbar.c

From: Galos, David <>
Date: Mon, 7 Jan 2013 17:18:40 -0500

> 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.

>anyone got any smart ideas about this?

Write a simple volume control daemon, that makes a named pipe. Then,
in dwm call spawn on shell commands that echo "UP", "DOWN" , or
whatever to the pipe.

Then, in the daemon itself, wait until changes stop coming off the
pipe to actually set the volume.
Received on Mon Jan 07 2013 - 23:18:40 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 07 2013 - 23:24:05 CET