On Sun, 20 Nov 2016 03:08:12 -0600, David C. Rankin wrote: > if [ $UID -eq 0 ]; then > echo $(luminance) > "$dest"/brightness Are you using the "helper script" because sudo echo $(luminance) > "$dest"/brightness doesn't work? If so, then consider to use echo $(luminance) | sudo tee "$dest"/brightness to get rid of the "helper script". Regards, Ralf