breto

A status bar written in Go.
Log | Files | Refs | README | LICENSE

commit 7339cfee1d4c5b8140d68e0df388bf0e0c34beb2
Author: Jaron Swab <jrswab@gmail.com>
Date:   Mon, 20 May 2019 21:30:12 -0400

initial commit

Diffstat:
AdwmStatusBar | 0
Astatus.go | 18++++++++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/dwmStatusBar b/dwmStatusBar Binary files differ. diff --git a/status.go b/status.go @@ -0,0 +1,18 @@ +package main + +import ( + //"fmt" + "os/exec" + "time" +) + +func main() { + + for true { + hTime := time.Now().Format("2006-01-02 15:04:05") + //fmt.Print(hTime.String(), "\n") + cmd := exec.Command("xsetroot", "-name", hTime) + cmd.Run() + time.Sleep(1 * time.Second) + } +}