Source code |
|
1 2 3 4 5 6 7 8 9 10 11 |
#!/bin/bash #INCR contains the percentage to increse INCR=20 VOL="`dcop kmix Mixer0 masterVolume`" VOL="$((${VOL}+${INCR}))" if [ "${VOL}" -gt "100" ]; then VOL="100" fi dcop kmix Mixer0 setMasterVolume ${VOL} |
Forum Software: Burning Board®, developed by WoltLab® GmbH
Linux Computer - Linux Forum -
Linux Computer und Notebooks - Lastminute - Wasserbetten & Whirlpools