diff --git a/Cargo.toml b/Cargo.toml index 2da056f3e..2ac90ffe0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,7 @@ daemonize = "0.4" [target.'cfg(not(windows))'.dependencies] # show a notification -notify-rust = "4.0.0-alpha.2" +notify-rust = "3" # on linux, font-loader pulls in servo-font* crates which conflict with # our newer font related deps, so we avoid it on linux diff --git a/src/config/mod.rs b/src/config/mod.rs index e58979b3b..bcdabbecb 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -159,7 +159,7 @@ impl ConfigInner { .summary("Wezterm Configuration") .body(&format!("{}", err)) // Stay on the screen until dismissed - .hint(notify_rust::Hint::Resident(true)) + .hint(notify_rust::NotificationHint::Resident(true)) // timeout isn't respected on macos .timeout(0) .show()