Blubb
This commit is contained in:
parent
580e2630ea
commit
4c09eabfd2
23
README.md
Normal file
23
README.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
PNMixer-rs
|
||||||
|
==========
|
||||||
|
|
||||||
|
About
|
||||||
|
-----
|
||||||
|
|
||||||
|
Rewrite of [nickaln/pnmixer](https://github.com/nicklan/pnmixer) in
|
||||||
|
[Rust](https://www.rust-lang.org).
|
||||||
|
|
||||||
|
This is meant as a drop-in replacement, but may diverge in feature set
|
||||||
|
in the future.
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------
|
||||||
|
|
||||||
|
The Rust ecosystem uses [Cargo](https://crates.io/), as such, you need
|
||||||
|
both the rust compiler and the cargo crate
|
||||||
|
(usually part of the compiler toolchain), then issue from within
|
||||||
|
the cloned repository:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
cargo install
|
||||||
|
```
|
@ -71,7 +71,7 @@ fn main() {
|
|||||||
|
|
||||||
// TODO: error handling
|
// TODO: error handling
|
||||||
#[cfg(feature = "notify")]
|
#[cfg(feature = "notify")]
|
||||||
init("PNMixer-rs");
|
init("PNMixer-rs").unwrap();
|
||||||
|
|
||||||
flexi_logger::LogOptions::new()
|
flexi_logger::LogOptions::new()
|
||||||
.log_to_file(false)
|
.log_to_file(false)
|
||||||
|
@ -24,6 +24,8 @@ use ui_prefs_dialog::*;
|
|||||||
use ui_tray_icon::*;
|
use ui_tray_icon::*;
|
||||||
|
|
||||||
|
|
||||||
|
// TODO: more notifications, such as on alsa error
|
||||||
|
|
||||||
|
|
||||||
pub struct Notif {
|
pub struct Notif {
|
||||||
enabled: Cell<bool>,
|
enabled: Cell<bool>,
|
||||||
|
Loading…
Reference in New Issue
Block a user