styling fix and clippy fixes

This commit is contained in:
Samuel Onoja committed 2026-10-01 08:59:00 +01:00
1 parent 1364ff62b8
commit 4137f787bf
17 files changed
+123 -75

No files matched your search

+4 -4
View File
@@ -53,10 +53,10 @@ pub(crate) fn run() -> Result<(), Box<dyn std::error::Error>> {
if !enabled(&entry, &desktop) {
continue;
}
if let Some(program) = entry.get("TryExec").filter(|program| !program.is_empty()) {
if !available(program) {
continue;
}
if let Some(program) = entry.get("TryExec").filter(|program| !program.is_empty())
&& !available(program)
{
continue;
}
let parent = std::process::id() as libc::pid_t;
let mut command = Command::new("timeout");