diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-08-03 11:19:48 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-08-03 11:19:48 +0100 |
commit | f485c843ae2d3a5f4e3baa75cd42310f7c327cbc (patch) | |
tree | 09b3581ebe423de14b204e50c20730f90bac1d5d /.config/eww/scripts | |
parent | 8688fe4817b726d6ffa1927ba38718bb9f02dce1 (diff) |
Fixed icon variable not having being enclosed in double quotes
Diffstat (limited to '.config/eww/scripts')
-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}') |