diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2017-11-15 22:23:31 +0100 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2017-11-15 22:23:39 +0100 |
| commit | d47c8f45f11b283b5648eef5f15e15ff7ce27d4b (patch) | |
| tree | 842191a4d951699621605da175b12e7f84486a54 /main.go | |
| parent | 28115d8776a952d9a0c32cf639cdffb2eff19ca2 (diff) | |
| download | gofu-d47c8f45f11b283b5648eef5f15e15ff7ce27d4b.tar.gz | |
add i3status applet, initially with a clock only
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |
