Give EWW scripts proper extensions
This commit is contained in:
parent
448bdfc231
commit
287df92d65
13 changed files with 11 additions and 11 deletions
12
eww/scripts/adjust-volume.sh
Executable file
12
eww/scripts/adjust-volume.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/env sh
|
||||
|
||||
DELTA="1%"
|
||||
|
||||
case "$1" in
|
||||
"up") pactl set-sink-volume @DEFAULT_SINK@ +"$DELTA"
|
||||
;;
|
||||
"down") pactl set-sink-volume @DEFAULT_SINK@ -"$DELTA"
|
||||
;;
|
||||
*) exit 1
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue