python + Ubersicht.app (MacOS)
Project description
Installation
$ [sudo] pip install ubersicht
Classes
class | __doc__ |
---|---|
ubersicht._coffee.Coffee |
index.coffee generator class |
ubersicht._widgets.Widget |
widget generator class |
Functions
function | __doc__ |
---|---|
ubersicht.kill() |
kill Übersicht.app process |
ubersicht.pid() |
return Übersicht.app pid |
ubersicht.restart() |
restart Übersicht.app |
ubersicht.start() |
open Übersicht.app |
ubersicht.widgets() |
return a list with widgets paths |
Examples
generate widget
>>> import ubersicht
>>> widget = ubersicht.Widget(name="name.widget", command="echo hello world", refresh="1s",style="color: red")
>>> widget.create()
>>> widget.path
'/Users/username/Library/Application Support/Übersicht/widgets/name.widget'
$ cat ~/Library/Application Support/Übersicht/widgets/name.widget/index.coffee
command: "echo hello world"
refreshFrequency: '1s'
update: (output, domEl) ->
$(domEl).empty().append("#{output}")
style: """
color: red
"""
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ubersicht-2019.3.24.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for ubersicht-2019.3.24-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbfc4196bfe4c924a6c02270476f29487453e9ae3c44275bb088fab01dc3c115 |
|
MD5 | dceb158c3365c4f74a19f0400a981bc6 |
|
BLAKE2b-256 | ebee2015a73f740ec5bbbdc9e63c90b18b4f88291e5da435609ecc029f8477c0 |