#!/bin/sh case $1 in period-changed) exec dunstify -u low -r $(sum <<<"redshift" | cut -d' ' -f1) "Redshift" "Period changed to $3" esac