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