parent
de926d077a
commit
b0c275b9d8
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
if $1
|
||||||
|
then
|
||||||
|
~/Documents/elgato/dist/elgato 192.168.1.2 192.168.1.4 night
|
||||||
|
brightness -d 1 0.1; brightness -d 3 0.1
|
||||||
|
osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to true'
|
||||||
|
else
|
||||||
|
~/Documents/elgato/dist/elgato 192.168.1.2 192.168.1.4 day
|
||||||
|
brightness -d 1 1; brightness -d 3 1
|
||||||
|
osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to false'
|
||||||
|
fi
|
||||||
|
|
||||||
Loading…
Reference in new issue