summaryrefslogtreecommitdiff
path: root/main.go
blob: 2caa1fa8a6e0bc3b098fd96b61127c22f2377df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package main

import (
	"log"

	"0xacab.org/leap/bitmask-systray/bitmask"
)

const (
	provider = "riseup.net"
)

func main() {
	conf, err := parseConfig()
	if err != nil {
		log.Fatal(err)
	}

	go notificate(conf)

	b, err := bitmask.Init()
	if err != nil {
		log.Fatal(err)
	}
	defer b.Close()

	run(b, conf)
}