From f595b592637d5f9dc76b90f97bbcad200f6a0f72 Mon Sep 17 00:00:00 2001 From: ryukamish Date: Wed, 3 Jun 2026 18:17:28 +0530 Subject: add/fix: variable addition and value changes --- scripts/nightlight-toggle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/nightlight-toggle') diff --git a/scripts/nightlight-toggle b/scripts/nightlight-toggle index 7e09303..e1c6b6c 100755 --- a/scripts/nightlight-toggle +++ b/scripts/nightlight-toggle @@ -13,20 +13,20 @@ hyprland_nightlight_toggle() { CURRENT_TEMP=$(hyprctl hyprsunset temperature 2>/dev/null | grep -oE '[0-9]+') if [[ "$CURRENT_TEMP" == "$OFF_TEMP" ]]; then hyprctl hyprsunset temperature $ON_TEMP - notify-send " Nightlight screen temperature" + notify-send "Nightlight screen temperature" else hyprctl hyprsunset temperature $OFF_TEMP - notify-send " Daylight screen temperature" + notify-send "Daylight screen temperature" fi } niri_nightlight_toggle() { if pgrep -x wlsunset; then killall wlsunset - notify-send " Daylight screen temperature" + notify-send "Daylight screen temperature" else setsid -f wlsunset -T 4500 - notify-send " Nightlight screen temperature" + notify-send "Nightlight screen temperature" fi } -- cgit v1.3