Reduce deltas to account for fast scroll speed

This commit is contained in:
Michael Bradley 2024-02-26 16:24:23 -05:00
parent f007ef2bc8
commit 3cab052f85
2 changed files with 5 additions and 3 deletions

View file

@ -1,9 +1,11 @@
#!/bin/env sh
DELTA="1%"
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
;;

View file

@ -1,6 +1,6 @@
#!/bin/env sh
DELTA="5%"
DELTA="1%"
case "$1" in
up) brightnessctl -m -c backlight set +"$DELTA"