This commit is contained in:
Kenny Levinsen
2019-09-06 22:48:50 +02:00
parent 61ad3e4d94
commit 6679418696
3 changed files with 90 additions and 76 deletions
+8 -1
View File
@@ -30,7 +30,14 @@ pub struct Launcher {
}
impl Launcher {
pub fn new(font_size: f32, length: u32, listener: Sender<Cmd>, app: String, term: String, url: String) -> Box<Launcher> {
pub fn new(
font_size: f32,
length: u32,
listener: Sender<Cmd>,
app: String,
term: String,
url: String,
) -> Box<Launcher> {
Box::new(Launcher {
options: load_desktop_files(),
term_opener: term,