aos appearance
Dark mode and night light (Night Shift)
2 commands. Run aos appearance --help for the same list from the binary, or see every group.
Dark mode and the warm night colours (Night Shift on macOS, Night light on Windows and GNOME). Both take on, off or toggle, and print on or off when given nothing. dark uses System Events on macOS, the Personalize registry values plus a theme-change broadcast on Windows, and the GNOME color-scheme setting on Linux. nightlight uses CoreBrightness on macOS and the GNOME setting on Linux, and exits 2 on Windows, which has no supported API for it. These follow the host: they change the screen the person is looking at.
Commands
Section titled “Commands”aos appearance dark
Section titled “aos appearance dark”Print or set dark mode: on, off or toggle
needs a display
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos appearance dark [on|off|toggle]aos appearance dark # on | offaos appearance dark onaos appearance dark toggleaos appearance nightlight
Section titled “aos appearance nightlight”Print or set the warm night colours (Night Shift, Night Light)
needs a display
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos appearance nightlight [on|off|toggle]aos appearance nightlight # on | offaos appearance nightlight on