#!/usr/bin/env zsh if $1 then ~/Documents/git/elgato/dist/elgato night brightness 0.1 osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to true' nshift 100 else ~/Documents/git/elgato/dist/elgato day brightness 1 osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to false' nshift 0 fi