9 lines
146 B
Bash
9 lines
146 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
INCR=${1:-10}
|
||
|
OUTPUT=$(mixerctl -n outputs.master)
|
||
|
CURRENT=${OUTPUT%,*}
|
||
|
VOL=$(( $CURRENT + $INCR ))
|
||
|
|
||
|
mixerctl outputs.master=$VOL,$VOL
|