commit
2bbf632baa
10
README.md
10
README.md
@ -15,8 +15,14 @@ A minimal fast dwm status bar written in **Rust** 🦀
|
|||||||
## Note
|
## Note
|
||||||
This tool is still in development stage.
|
This tool is still in development stage.
|
||||||
|
|
||||||
## Install
|
## Cargo Installation
|
||||||
clone the repo
|
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
|
```sh
|
||||||
git clone https://github.com/mustafasalih1993/rsblocks
|
git clone https://github.com/mustafasalih1993/rsblocks
|
||||||
```
|
```
|
||||||
|
@ -8,6 +8,8 @@ mod load_config;
|
|||||||
mod mem;
|
mod mem;
|
||||||
mod sound;
|
mod sound;
|
||||||
|
|
||||||
|
// TODO: this is sucks, maybe thread, i want to spawn some threads
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let settings = load_config::load().unwrap();
|
let settings = load_config::load().unwrap();
|
||||||
sound::get_sound(&settings);
|
sound::get_sound(&settings);
|
||||||
@ -39,6 +41,6 @@ fn main() {
|
|||||||
.output()
|
.output()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
thread::sleep(Duration::new(1, 0));
|
thread::sleep(Duration::from_millis(75));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user