On Sunday 20 January 2002 19:07 bascule said:
>that's nice :-)
>it's going to be v. useful to get at those other keys!
>
>bascule
>p.s. for a mute/unmute toggle script i knocked up the following, i rarely
>write scripts so if anyone has constructive criticism that would be nice
>#!/bin/bash
>let vol=`aumix -q|gawk '/vol/ {print $3}'`
>if [ $vol -eq "0" ]
> then
> aumix -L
> else
> aumix -v 0
>fi
Excellent, exactly what I was looking for :)
--
Live fast, die young,
you're sucking up my bandwidth.
------
J.P. Pasnak, CD
[EMAIL PROTECTED]
http://www.warpedsystems.sk.ca
Kernel version: 2.4.17-6mdk
Current Linux uptime: 0 hours 8 minutes.
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com