notify-send typo

This commit is contained in:
nomadics9 2024-10-25 19:03:50 +03:00
parent f6a47b4eb3
commit e43a5331c8

View file

@ -3,13 +3,13 @@
down() { down() {
brightnessctl set 5%- brightnessctl set 5%-
brightnessctl=$(brightnessctl | grep -oP "(\d+(\.\d+)?(?=%))") 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() { up() {
brightnessctl set 5%+ brightnessctl set 5%+
brightnessctl=$(brightnessctl | grep -oP "(\d+(\.\d+)?(?=%))") 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 case "$1" in