Skip to content
/ detectbg Public

standalone program to detect terminal background light/dark

License

Notifications You must be signed in to change notification settings

will/detectbg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

$ detectbg
$ detectbg [print-if-light default=light] [print-if-dark default=dark]

Develop

  • nix develop: opens up a bash shell with the bare minimum Rust toolset (cargo & rustc) by default
  • nix build : builds the Rust project. Outputs the binary to ./result/bin/<name>
  • nix run: runs the Rust program.

Reference

  1. wiki/Flakes
  2. Fenix - used for managing Rust toolchains (read the makeRustPlatform example)
  3. rust-section of language frameworks - optional (use it for extending the template)

About

standalone program to detect terminal background light/dark

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published