aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2017-11-15 22:23:31 +0100
committerStefan Majewsky <majewsky@gmx.net>2017-11-15 22:23:39 +0100
commitd47c8f45f11b283b5648eef5f15e15ff7ce27d4b (patch)
tree842191a4d951699621605da175b12e7f84486a54 /main.go
parent28115d8776a952d9a0c32cf639cdffb2eff19ca2 (diff)
downloadgofu-d47c8f45f11b283b5648eef5f15e15ff7ce27d4b.tar.gz
add i3status applet, initially with a clock only
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 1942c8e..4a79ed9 100644
--- a/main.go
+++ b/main.go
@@ -23,6 +23,7 @@ import (
"os"
"path/filepath"
+ "github.com/majewsky/gofu/pkg/i3status"
"github.com/majewsky/gofu/pkg/prompt"
"github.com/majewsky/gofu/pkg/rtree"
)
@@ -46,6 +47,8 @@ func execApplet(applet string, args []string, allowGofu bool) int {
return prompt.Exec(args)
case "rtree":
return rtree.Exec(args)
+ case "i3status":
+ return i3status.Exec(args)
default:
fmt.Fprintln(os.Stderr, "ERROR: unknown applet: "+applet)
return 255