summaryrefslogtreecommitdiff
path: root/main.go
blob: b7faa91e4a5caadc2c0a11c13842e365a6307efd (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
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)
	}

	run(b, conf)
}