summaryrefslogtreecommitdiff
path: root/scripts/nightlight-toggle
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-06-03 18:17:28 +0530
committerryukamish <[email protected]>2026-06-03 18:17:28 +0530
commitf595b592637d5f9dc76b90f97bbcad200f6a0f72 (patch)
tree500be3c1cb07e635ac1fa857563b239f7b4c0d2d /scripts/nightlight-toggle
parent9735eb5c026cc0e1b7c9f3942a22b0290d963fac (diff)
add/fix: variable addition and value changes
Diffstat (limited to 'scripts/nightlight-toggle')
-rwxr-xr-xscripts/nightlight-toggle8
1 files changed, 4 insertions, 4 deletions
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
}