Skip to content

Commit

Permalink
Consistent nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
nokyan committed Oct 1, 2024
1 parent aa28a1f commit 3edb30b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use super::{
/// considered instead to enhance app detection
const DESKTOP_ENVIRONMENT_CGROUPS: &[&str] = &["org.gnome.Shell"];

// This contains executable names that are blacklisted from being recognized as applications
// This contains executable names that are blocklisted from being recognized as applications
const DESKTOP_EXEC_BLOCKLIST: &[&str] = &["bash", "zsh", "fish", "sh", "ksh", "flatpak"];

// This contains IDs of desktop files that shouldn't be counted as applications for whatever reason
Expand Down Expand Up @@ -288,8 +288,8 @@ impl App {

if let Some(executable_name) = &executable_name {
if DESKTOP_EXEC_BLOCKLIST.contains(&executable_name.as_str()) {
debug!("Skipping {id} because its executable {executable_name} blacklisted…");
bail!("{id}'s executable {executable_name} is blacklisted")
debug!("Skipping {id} because its executable {executable_name} blocklisted…");
bail!("{id}'s executable {executable_name} is blocklisted")
}
}

Expand Down

0 comments on commit 3edb30b

Please sign in to comment.