diff options
-rwxr-xr-x | .config/eww/scripts/brightnesscontrol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/eww/scripts/brightnesscontrol b/.config/eww/scripts/brightnesscontrol index 293e383..3f9cca9 100755 --- a/.config/eww/scripts/brightnesscontrol +++ b/.config/eww/scripts/brightnesscontrol @@ -9,7 +9,7 @@ # https://gist.github.com/sebastiencs/5d7227f388d93374cebdf72e783fbd6a function send_notification { - icon=/usr/share/icons/Adwaita/symbolic/status/daytime-sunrise-symbolic.svg + icon="/usr/share/icons/Adwaita/symbolic/status/daytime-sunrise-symbolic.svg" brightness=$(brightnessctl g) brightness=$((brightness *100 / 255 )) brightness=$(echo "$brightness" | awk '{print ($0-int($0)<0.499)?int($0):int($0)+1}') |