From d47c8f45f11b283b5648eef5f15e15ff7ce27d4b Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 15 Nov 2017 22:23:31 +0100 Subject: add i3status applet, initially with a clock only --- main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.go') 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 -- cgit v1.3.1