Switch Between Light and Dark Mode in macOS Mojave Command Line
▻https://hackernoon.com/switch-between-light-and-dark-mode-in-macos-mojave-command-line-b969cb3d
Switch #mac theme using Command lineI recently updated my Mac to MacOs Mojave. It comes with various upgrades, the dark theme is one of them.Coming from the background of hardcode Linux user, I love anything which is black and dark. I loved the new dark theme for Mac, there was just one issue.Whenever I need to switch the theme to light or dark, I need to go to Appearance screen and select it. Well, not so efficient, so I made a small command line tool to switch the theme to light or dark.And as always, sharing with you how I made it.The problemWe need to somehow manage to do the system call in Mac via command line in order to achieve what we want, I don’t have much experience in developing apps for Mac and that’s an issue.But, I do have expertise in Node.js and I think I can figure out a way (...)
#javascript #nodejs #macos-mojave-command-line #light-and-dark-mode