diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-06-14 11:29:26 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-06-20 12:18:17 +0200 |
commit | 2439d744ac42e7c77e4848de50dd432f7d9b12bc (patch) | |
tree | 43cd32185b96a2353f6bbbea407494d8644d8801 /main.go | |
parent | 37413f5eb2b8d4719c959db03874cc9bcc362ddc (diff) |
[feat] sort gateways by timezone
And let us select gateways.
- Resolves: #42
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -40,6 +40,10 @@ func main() { // locking the main thread into an OS thread fixes the problem runtime.LockOSThread() + conf := parseConfig() + initPrinter() + + flag.BoolVar(&conf.SelectGateway, "select-gateway", false, "Enable gateway selection") versionFlag := flag.Bool("version", false, "Version of the bitmask-systray") flag.Parse() if *versionFlag { @@ -57,9 +61,6 @@ func main() { } defer releasePID() - conf := parseConfig() - initPrinter() - notify := newNotificator(conf) b, err := initBitmask() |