python + Ubersicht.app (MacOS)
Project description
Installation
$ [sudo] pip install ubersicht
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-2020.12.3.tar.gz
(2.6 kB
view hashes)