This commit is contained in:
Julian Ospald 2017-07-11 23:54:05 +02:00
parent 580e2630ea
commit 4c09eabfd2
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
3 changed files with 26 additions and 1 deletions

23
README.md Normal file
View 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
```

View File

@ -71,7 +71,7 @@ fn main() {
// TODO: error handling
#[cfg(feature = "notify")]
init("PNMixer-rs");
init("PNMixer-rs").unwrap();
flexi_logger::LogOptions::new()
.log_to_file(false)

View File

@ -24,6 +24,8 @@ use ui_prefs_dialog::*;
use ui_tray_icon::*;
// TODO: more notifications, such as on alsa error
pub struct Notif {
enabled: Cell<bool>,