Use consistent bash5 style for conditionals and quoting
This commit is contained in:
@@ -19,7 +19,7 @@ restart_nightlighted_waybar() {
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ "$CURRENT_TEMP" == "$OFF_TEMP" ]]; then
|
||||
if [[ $CURRENT_TEMP == $OFF_TEMP ]]; then
|
||||
hyprctl hyprsunset temperature $ON_TEMP
|
||||
notify-send " Nightlight screen temperature"
|
||||
restart_nightlighted_waybar
|
||||
|
||||
Reference in New Issue
Block a user