Thu, 18 Jan 2018 21:42:00 +0000
Some rough drafting
0 | 1 | #!/usr/local/bin/python3 |
2 | import rumps | |
3 | #import json | |
4 | #import multiprocessing as mp | |
5 | import threading as th | |
6 | import queue | |
7 | from pkg_resources import resource_string | |
8 | from config import settings | |
9 | ||
10 | # f=io.open('status.json', 'r'); | |
11 | # data=json.load(f); | |
12 | ||
13 | class BorgendTray(rumps.App): | |
14 | @rumps.clicked("Status...") | |
15 | def prefs(self, _): | |
16 | rumps.alert("None") | |
17 | ||
18 | ||
19 | if __name__ == "__main__": | |
20 | print(settings) | |
21 | #BorgendTray("Borgend").run() | |
22 |