Fill out commands list
This commit is contained in:
parent
cc1a424f2b
commit
7aaeec3ab6
1 changed files with 9 additions and 3 deletions
12
main.go
12
main.go
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue