Merge pull request #9 from MustafaSalih1993/dev

config
This commit is contained in:
Mustafa Salih 2020-12-31 05:31:58 +03:00 committed by GitHub
commit 2bbf632baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View File

@ -15,8 +15,14 @@ A minimal fast dwm status bar written in **Rust** 🦀
## Note
This tool is still in development stage.
## Install
clone the repo
## Cargo Installation
You can install the binary crate directly
```sh
cargo install rsblocks
```
## Manual Installation
You can clone the repo and build from the source code
```sh
git clone https://github.com/mustafasalih1993/rsblocks
```

View File

@ -8,6 +8,8 @@ mod load_config;
mod mem;
mod sound;
// TODO: this is sucks, maybe thread, i want to spawn some threads
fn main() {
let settings = load_config::load().unwrap();
sound::get_sound(&settings);
@ -39,6 +41,6 @@ fn main() {
.output()
.unwrap();
thread::sleep(Duration::new(1, 0));
thread::sleep(Duration::from_millis(75));
}
}