borgend.py

Thu, 18 Jan 2018 21:42:00 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Thu, 18 Jan 2018 21:42:00 +0000
changeset 0
f5aecaad0bcf
child 1
4cdc9c1f6b28
permissions
-rwxr-xr-x

Some rough drafting

#!/usr/local/bin/python3
import rumps
#import json
#import multiprocessing as mp
import threading as th
import queue
from pkg_resources import resource_string
from config import settings

# f=io.open('status.json', 'r');
# data=json.load(f);

class BorgendTray(rumps.App):
    @rumps.clicked("Status...")
    def prefs(self, _):
        rumps.alert("None")


if __name__ == "__main__":
    print(settings)
    #BorgendTray("Borgend").run()
    

mercurial