Reduce deltas to account for fast scroll speed
This commit is contained in:
parent
f007ef2bc8
commit
3cab052f85
2 changed files with 5 additions and 3 deletions
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/env sh
|
#!/bin/env sh
|
||||||
|
|
||||||
|
DELTA="1%"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
"up") pactl set-sink-volume @DEFAULT_SINK@ +5%
|
"up") pactl set-sink-volume @DEFAULT_SINK@ +"$DELTA"
|
||||||
;;
|
;;
|
||||||
"down") pactl set-sink-volume @DEFAULT_SINK@ -5%
|
"down") pactl set-sink-volume @DEFAULT_SINK@ -"$DELTA"
|
||||||
;;
|
;;
|
||||||
*) exit 1
|
*) exit 1
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/env sh
|
#!/bin/env sh
|
||||||
|
|
||||||
DELTA="5%"
|
DELTA="1%"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
up) brightnessctl -m -c backlight set +"$DELTA"
|
up) brightnessctl -m -c backlight set +"$DELTA"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue