Fill out commands list

This commit is contained in:
Adam Cooper 2022-05-16 13:07:51 -04:00
parent cc1a424f2b
commit 7aaeec3ab6

12
main.go
View file

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