Created
November 13, 2023 23:28
-
-
Save squeaky-nose/94950cb2d4280187c1efe388c93c23e2 to your computer and use it in GitHub Desktop.
Toggle night mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while [ 1 ] | |
do | |
xcrun simctl ui booted appearance dark | |
sleep 2 | |
xcrun simctl ui booted appearance light | |
sleep 2 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment