Launch a terminal window to launch Qutebrowser

This seems to allow us to quit breakfast and leave the browser running
This commit is contained in:
Adam Cooper 2022-05-17 14:28:55 -04:00
parent 3c47906594
commit 1cdb274c4b

View file

@ -59,7 +59,7 @@ func getBrowserSessions() []commandChoice {
log.Printf("INFO %s", entry.Name())
result = append(result, commandChoice{
displayString: fmt.Sprintf("Qutebrowser session: %s", strings.TrimSuffix(entry.Name(), ".yml")),
command: exec.Command("qutebrowser", "--target", "window", "--restore", strings.TrimSuffix(entry.Name(), ".yml")),
command: exec.Command("xterm", "-e", "qutebrowser", "--target", "window", "--restore", strings.TrimSuffix(entry.Name(), ".yml")),
})
}
}