Fill out commands list

This commit is contained in:
Adam Cooper 2022-05-16 13:07:51 -04:00
parent cc1a424f2b
commit 7aaeec3ab6
1 changed files with 9 additions and 3 deletions

12
main.go
View File

@ -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.