Skip to content

Commit

Permalink
update package desc
Browse files Browse the repository at this point in the history
  • Loading branch information
doums committed Aug 19, 2024
1 parent e2f8c15 commit d3db2b8
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .pkg/aur/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pkgname=baru
pkgver=0.1.0
pkgrel=1
pkgdesc='A system monitor written in Rust and C'
pkgdesc='A simple system monitor for WM statusbar'
arch=('x86_64')
url='https://github.com/doums/baru'
license=('MPL2')
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "baru"
version = "0.4.0"
description = "A simple system monitor for WM statusbar"
authors = ["pierre <dommerc.pierre@gmail.com>"]
edition = "2021"
links = "netlink,audio"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

## baru

A simple system monitor for WM statusbars
A simple system monitor for WM statusbar

![baru](https://raw.githubusercontent.com/doums/baru/master/public/baru.png)

Baru is a lightweight system monitor for WM status-bars.\
Baru is a lightweight system monitor for WM status-bar.\
It can be used as a provider with any status-bar that can read from `stdout`.\
Like [xmobar](https://codeberg.org/xmobar/xmobar),
[lemonbar](https://github.com/LemonBoy/bar),
Expand Down
2 changes: 1 addition & 1 deletion baru.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# List of all options

# If the word "required" is mentioned, the corresponding option is required.
# Otherwise it is optional.
# Otherwise, it is optional.


# # # # #
Expand Down
2 changes: 1 addition & 1 deletion src/modules/mic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use serde::{Deserialize, Serialize};
use std::sync::mpsc::Sender;
use std::thread;
use std::time::{Duration, Instant};
use tracing::{debug, error, instrument};
use tracing::{debug, instrument};

const PLACEHOLDER: &str = "-";
const TICK_RATE: Duration = Duration::from_millis(50);
Expand Down
2 changes: 1 addition & 1 deletion src/modules/sound.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use serde::{Deserialize, Serialize};
use std::sync::mpsc::Sender;
use std::thread;
use std::time::{Duration, Instant};
use tracing::{debug, error, instrument};
use tracing::{debug, instrument};

const PLACEHOLDER: &str = "-";
const TICK_RATE: Duration = Duration::from_millis(50);
Expand Down
6 changes: 3 additions & 3 deletions src/modules/temperature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ impl<'a> Default for InternalConfig<'a> {
}
}

#[instrument]
#[instrument(skip(path))]
fn check_input_file(path: &str, n: u32) -> bool {
fs::metadata(format!("{path}/temp{n}_input"))
.map(|m| m.is_file())
.inspect_err(|_e| {
warn!("input file not found: temp{n}_input");
.inspect_err(|e| {
warn!("input file not found `temp{n}_input`, {}", e);
})
.unwrap_or(false)
}
Expand Down

0 comments on commit d3db2b8

Please sign in to comment.