A CLI application to retrieve the current color scheme.
Go to file
usagi-flow b4fa67a168
Add README.md
2024-04-24 20:41:01 +02:00
src Initial commit 2023-10-04 18:25:02 +02:00
.editorconfig Initial commit 2023-10-04 18:25:02 +02:00
.gitignore Initial commit 2023-10-04 18:25:02 +02:00
Cargo.lock Initial commit 2023-10-04 18:25:02 +02:00
Cargo.toml Initial commit 2023-10-04 18:25:02 +02:00
LICENSE Add license 2024-04-21 14:20:45 +02:00
Makefile Initial commit 2023-10-04 18:25:02 +02:00
README.md Add README.md 2024-04-24 20:41:01 +02:00
rustfmt.toml Initial commit 2023-10-04 18:25:02 +02:00

README.md

get-color-scheme

A CLI application to retrieve the current color scheme.

The underlying library, dark-light, supports common operating systems and WASM. On Linux and BSD, the XDG portal API is first queried, with a fallback to the respective desktop environment settings.

Retrieves the current color scheme, i.e. 2 ("light mode"), 1 ("dark mode") or 0 ("no preference").

USAGE:
    get-color-scheme [OPTIONS]

OPTIONS:
    -h, --help       Print help information
    -v               Display a human-readable description instead of a numeric key
    -V, --version    Print version information