From f485c843ae2d3a5f4e3baa75cd42310f7c327cbc Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sat, 3 Aug 2024 11:19:48 +0100 Subject: Fixed icon variable not having being enclosed in double quotes --- .config/eww/scripts/brightnesscontrol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}') -- cgit v1.2.3