Update 'darkmode'

master
mahuntington 1 month ago
parent f5956f830c
commit bc34bac5b8

@ -3,13 +3,12 @@
if $1
then
~/Documents/git/elgato/dist/elgato night
brightness -d 0 0.1; brightness -d 1 0.1
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 -d 0 1; brightness -d 1 1
brightness 1
osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to false'
nshift 0
fi

Loading…
Cancel
Save