diff --git a/scripts/brightness b/scripts/brightness index 2ce1418..716b072 100755 --- a/scripts/brightness +++ b/scripts/brightness @@ -3,13 +3,13 @@ down() { brightnessctl set 5%- brightnessctl=$(brightnessctl | grep -oP "(\d+(\.\d+)?(?=%))") -notify-send -a "Brightness" "Decreasing to $brightnessctl%" -h int:value:"$brightnessctl" -i ~/icons/brightness.png -h string:x-canonical-private-synchronous:brightness +notify-send -a "Brightness" "Decreasing to $brightnessctl%" -h int:value:"$brightnessctl" -i ~/icons/brightness.png -h string:x-canonical-private-synchronous:brightnessctl } up() { brightnessctl set 5%+ brightnessctl=$(brightnessctl | grep -oP "(\d+(\.\d+)?(?=%))") -notify-send -a "BRightness" "Increasing to $brightnessctl%" -h int:value:"$brightnessctl" -i ~/icons/brightness.png -h string:x-canonical-private-synchronous:brightness +notify-send -a "Brightness" "Increasing to $brightnessctl%" -h int:value:"$brightnessctl" -i ~/icons/brightness.png -h string:x-canonical-private-synchronous:brightnessctl } case "$1" in