breto

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

commit 9d4b93aa2435cf5cd677181c83bba6cd3bc312ba
parent 300b05cd7b8babf472cef46b834fcaaf9715ad25
Author: Jaron Swab <jrswab@gmail.com>
Date:   Thu, 23 May 2019 19:30:07 -0400

Strictly expressed custom packages.
The packages contained in libs/ needed to be express witouh dot notation for go to compile the code into the binary.
Also shortened the space before 'RAM' and added a space after the clock.

Diffstat:
Mmain.go | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/main.go b/main.go @@ -1,8 +1,8 @@ package main import ( - "./libs/ram" - "./libs/wttr" + "gitlab.com/jrswab/dwm-status/libs/ram" + "gitlab.com/jrswab/dwm-status/libs/wttr" "os/exec" "strings" "time" @@ -28,10 +28,11 @@ func main() { // store desired items as strings // delete or comment out a line to remove from status bar - cat := []string{" ", + cat := []string{"", "RAM:", ramFree, "free", "|", weather, "|", - hTime} + hTime, + ""} // concatinate all strings to one line for output status := strings.Join(cat, " ")