set volume in percentages and update wjt
This commit is contained in:
parent
bb3bf1460c
commit
30253c598a
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
current="$(amixer get Master | sed -n '/%/s/.*\[\(.*\)%\].*/\1/p' | head -1)"
|
current="$(amixer get Master | sed -n '/%/s/.*\[\(.*\)%\].*/\1/p' | head -1)"
|
||||||
wjt -t -x "$current" | while read next; do
|
wjt -x "$current" | while read next; do
|
||||||
amixer -q set Master "$next"
|
amixer -q set Master "$next%"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user