Skip to content

Latest commit

 

History

History
128 lines (75 loc) · 1.89 KB

File metadata and controls

128 lines (75 loc) · 1.89 KB

Getostheme

Getostheme Index / Getostheme

Auto-generated documentation for getostheme module.

cli

Show source in init.py:168

CLI entry point.

Signature

def cli() -> None: ...

isDarkMode

Show source in init.py:157

Is the OS in dark mode?.

Returns

bool: OS is in dark mode

Signature

def isDarkMode() -> bool: ...

isLightMode

Show source in init.py:140

Call isLightMode_OS.

Returns

bool: OS is in light mode

Signature

def isLightMode() -> bool: ...

isLightMode_Linux

Show source in init.py:115

For Linux OS MIT FredHappyface.

Returns

bool: Linux is in light mode

Signature

def isLightMode_Linux() -> bool: ...

isLightMode_Mac

Show source in init.py:10

For MacOS BSD-3-Clause albertosottile (https://github.com/albertosottile/darkdetect).

Raises

OSError: Cannot load objc

Returns

bool: Windows is in light mode

Signature

def isLightMode_Mac() -> bool: ...

isLightMode_Windows

Show source in init.py:98

For Windows OS MIT clxmente (https://github.com/clxmente/Windows-Dark-Mode-Check).

Returns

bool: Windows is in light mode

Signature

def isLightMode_Windows() -> bool: ...

Modules