volume slider using wjt
This commit is contained in:
parent
5b5ccd3ade
commit
bb3bf1460c
2 changed files with 6 additions and 0 deletions
5
local/bin/sslider.sh
Executable file
5
local/bin/sslider.sh
Executable file
|
@ -0,0 +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"
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue