Browse Source

SL: Move to subdirectory

master
Elis Hirwing 2 years ago
parent
commit
2d2dc6e1a3
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 5
      main.go
  2. 4
      src/sl/sl.go

5
main.go

@ -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")

4
statusscreen-sl.go → src/sl/sl.go

@ -1,7 +1,7 @@
package main
package sl
import (
"./src/config"
"../config"
"bytes"
"encoding/json"
"errors"
Loading…
Cancel
Save