|
|
|
@ -80,14 +80,20 @@ func initialModel() model { |
|
|
|
|
choices: Choices{ |
|
|
|
|
getBrowserSessions(), |
|
|
|
|
[]sessionOrCommand{{ |
|
|
|
|
displayString: "newsboat", |
|
|
|
|
command: exec.Command("xterm", "-maximized", "-e", "newsboat"), |
|
|
|
|
}, { |
|
|
|
|
displayString: "bottom", |
|
|
|
|
command: exec.Command("xterm", "-maximized", "-e", "btm", "--group", "--battery", "--color", "gruvbox-light"), |
|
|
|
|
}, { |
|
|
|
|
displayString: "broot", |
|
|
|
|
command: exec.Command("xterm", "-maximized", "-e", "broot"), |
|
|
|
|
}, { |
|
|
|
|
displayString: "joplin", |
|
|
|
|
command: exec.Command("xterm", "-maximized", "-e", "joplin"), |
|
|
|
|
}, { |
|
|
|
|
displayString: "neomutt", |
|
|
|
|
command: exec.Command("xterm", "-maximized", "-e", "neomutt"), |
|
|
|
|
}, { |
|
|
|
|
displayString: "newsboat", |
|
|
|
|
command: exec.Command("xterm", "-maximized", "-e", "newsboat"), |
|
|
|
|
}}, |
|
|
|
|
}, |
|
|
|
|
// An array of maps which indicates which choices are selected.
|
|
|
|
|