New package: wired-notify-0.10.2

Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
This commit is contained in:
Francesco Carmelo Capria 2022-10-05 19:15:16 +02:00 committed by classabbyamp
parent cefa9f37f1
commit 4bd901c17d
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- a/src/manager.rs
+++ b/src/manager.rs
@@ -143,6 +143,6 @@
if let Some(threshold) = Config::get().idle_threshold {
match maths_utility::query_screensaver_info(&self.base_window) {
Ok(info) => {
- if info.idle / 1000 >= threshold {
+ if info.idle as u64 / 1000 >= threshold {
self.layout_windows
.values_mut()
.flatten()

View file

@ -0,0 +1,18 @@
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -319,12 +319,12 @@ dependencies = [
[[package]]
name = "crossbeam-utils"
-version = "0.8.5"
+version = "0.8.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
+checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
dependencies = [
"cfg-if 1.0.0",
- "lazy_static",
+ "once_cell",
]
[[package]]

View file

@ -0,0 +1,17 @@
# Template file for 'wired-notify'
pkgname=wired-notify
version=0.10.2
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="pango-devel libXScrnSaver-devel libglib-devel"
short_desc="Lightweight notification daemon written in Rust"
maintainer="Francesco Carmelo Capria <francesco@capria.eu>"
license="MIT"
homepage="https://github.com/Toqozz/wired-notify"
distfiles="https://github.com/Toqozz/wired-notify/archive/refs/tags/${version}.tar.gz"
checksum=7e1c522451887af67f76ddc3022ef26be918e01c44cec10c09d39cfa04b9785e
post_install() {
vlicense LICENSE
}