Browse Source

SL: Move to subdirectory

master
Elis Hirwing 1 year ago
parent
commit
2d2dc6e1a3
Signed by: etu <elis@hirwing.se> GPG Key ID: D57EFA625C9A925F
2 changed files with 5 additions and 4 deletions
  1. +3
    -2
      main.go
  2. +2
    -2
      src/sl/sl.go

+ 3
- 2
main.go View File

@@ -3,6 +3,7 @@ package main
import (
"./src/clock"
"./src/config"
"./src/sl"
tm "github.com/buger/goterm"
"time"
)
@@ -11,9 +12,9 @@ func main() {
config := config.New("status.toml")

clock := clock.Clock{Config: &config}
sl := SL{Config: &config}
weather := Weather{Config: &config}
pollen := Pollen{Config: &config}
sl := sl.SL{Config: &config}
weather := Weather{Config: &config}

tm.Clear()
tm.Print("\033[?25l")


statusscreen-sl.go → src/sl/sl.go View File

@@ -1,7 +1,7 @@
package main
package sl

import (
"./src/config"
"../config"
"bytes"
"encoding/json"
"errors"

Loading…
Cancel
Save