Add -e for Terminal=true entries

This commit is contained in:
Gregory 2021-04-25 00:19:43 -04:00
parent 0cac0a41c8
commit 11db7ab94e
No known key found for this signature in database
GPG key ID: 2E44FAEEDC94B1E2

View file

@ -85,6 +85,7 @@ impl DesktopEntry {
split = shlex::split(&crate::config::Config::terminal()?) split = shlex::split(&crate::config::Config::terminal()?)
.unwrap() .unwrap()
.into_iter() .into_iter()
.chain(vec!["-e".to_owned()])
.chain(split.into_iter()) .chain(split.into_iter())
.collect(); .collect();
} }