volume slider using wjt
This commit is contained in:
parent
5b5ccd3ade
commit
bb3bf1460c
2 changed files with 6 additions and 0 deletions
1
local/bin/.gitignore
vendored
1
local/bin/.gitignore
vendored
|
@ -8,6 +8,7 @@ dmenu
|
|||
dmenu_path
|
||||
dmenu_run
|
||||
stest
|
||||
wjt
|
||||
|
||||
# shouldn't share this one with the world
|
||||
macaddress
|
||||
|
|
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