Don't use notifications for toggles that have clear visual feedback already
This commit is contained in:
@@ -17,8 +17,6 @@ CURRENT_TEMP=$(hyprctl hyprsunset temperature 2>/dev/null | grep -oE '[0-9]+')
|
|||||||
|
|
||||||
if [[ $CURRENT_TEMP == $OFF_TEMP ]]; then
|
if [[ $CURRENT_TEMP == $OFF_TEMP ]]; then
|
||||||
hyprctl hyprsunset temperature $ON_TEMP
|
hyprctl hyprsunset temperature $ON_TEMP
|
||||||
omarchy-notification-send -g "Nightlight screen temperature"
|
|
||||||
else
|
else
|
||||||
hyprctl hyprsunset temperature $OFF_TEMP
|
hyprctl hyprsunset temperature $OFF_TEMP
|
||||||
omarchy-notification-send -g "Daylight screen temperature"
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user