do not output i3 stdout/stderr

This commit is contained in:
Kevin Schoon 2018-01-20 17:39:05 +08:00
parent 336c0f3ca9
commit b6c74bb61a
1 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,6 @@
package main
import (
"fmt"
"os/exec"
"time"
)
@ -31,7 +30,7 @@ type Prompter interface {
type I3 struct{}
func (i *I3) Prompt(message string) error {
raw, err := exec.Command(
_, err := exec.Command(
"/bin/i3-nagbar",
"-m",
message,
@ -39,6 +38,5 @@ func (i *I3) Prompt(message string) error {
if err != nil {
return err
}
fmt.Println(string(raw))
return nil
}