Skip to main content

Simple cli tool for creating status text to something like dwm-bar.

Project description

usts

Simple cli tool for creating status text to something like dwm-bar.

Items

Item Dependencies Description
time datetime Display current time with strftime formating.
cpu_usage psutil Display percent of cpu usage.
memory_usage psutil Display memory usage (percent, available, etc...)
cryptocurrency requests Display cryptocurrency from coingecko.com api.

Installation

pip install usts

~/.config/usts/config.py example

# import make functions from mkitems.py file
from usts.mkitems import *

# setup list of items
items = [
    make_cpu_usage(),
    make_memory_usage(),
    make_time(),
]

# Execute is action with status
#   setxroot -> setxroot -name "status"
#   stdout   -> just print status in terminal
execute = "stdout"

Usage

usts

Contacts

Contact Description
Matrix Matrix server.
Discord Discord server.

Donates

Monero: 47KkgEb3agJJjSpeW1LpVi1M8fsCfREhnBCb1yib5KQgCxwb6j47XBQAamueByrLUceRinJqveZ82UCbrGqrsY9oNuZ97xN

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

usts-0.1.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file usts-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: usts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for usts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09110702fc1ad9f1ad28e4d6b41cfff3b3a59373a962cf263c77acc62843bb3b
MD5 39d13fddf219d164ac1acb1beaea5dac
BLAKE2b-256 581cae438ff39d43052e9595e3d07b8c73b96335759e7cb6a6740edc342eaa99

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page