Skip to content

Commit

Permalink
Skip desktop Exec placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
l4l committed Dec 18, 2020
1 parent 365217d commit c548191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mode/apps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ impl AppsMode {
let args = shlex::split(&entry.exec)
.unwrap()
.into_iter()
.filter(|s| !s.starts_with('%')) // TODO: use placeholders somehow
.map(|s| CString::new(s).unwrap())
.collect::<Vec<_>>();
let (prog, args) = if entry.is_terminal {
Expand Down

0 comments on commit c548191

Please sign in to comment.