Update 'darkmode'

master
mahuntington 1 month ago
parent f5956f830c
commit bc34bac5b8

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

Loading…
Cancel
Save