You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
479 B
16 lines
479 B
#!/usr/bin/env zsh
|
|
|
|
if $1
|
|
then
|
|
~/Documents/git/elgato/dist/elgato 192.168.68.109 192.168.68.110 night
|
|
brightness -d 0 0.1; brightness -d 1 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 192.168.68.109 192.168.68.110 day
|
|
brightness -d 0 1; brightness -d 1 1
|
|
osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to false'
|
|
nshift 0
|
|
fi
|
|
|