A visually appealing and informative Message of the Day (MOTD) generator for Linux systems.
Project description
ElegantMOTD
ElegantMOTD is a Python-based Message of the Day (MOTD) generator for displaying system information in a visually appealing and informative manner. It works on Linux systems and provides details such as system load, disk usage, memory usage, swap usage, temperature, network interfaces, CPU usage, and more.
Features
- Rich, colorful text-based output.
- Displays various system information.
- Customizable visual theme.
- Easy to use and integrate into your system.
Usage
To display the Message of the Day, run the following command:
elegantmotd
You can choose a visual theme using the --theme (or -t) option:
elegantmotd --theme emoji
elegantmotd -t nerdfont
Available themes
none(default): no icons, clean plain text (TTY-safe)emoji: colorful emojis for graphical environmentsnerdfont: icon-rich display using Nerd Fonts
Live Updates
If you want to enable live updates of the system information, you can use the --watch/-w option:
elegantmotd --watch
With the --watch option, the MOTD will be continuously updated with the latest system information.
Output
Customization
You can customize the output by modifying the motd.py file and adding or removing system information modules as per
your preference. The available modules are:
- Load
- Disk
- Memory
- Temperature
- Process
- LoggedInUsers
- Network
- CPU
To add or remove a module, simply add or remove the corresponding import statement and the respective class instance
from the sysinfos list in the display() function.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file elegantmotd-1.0.0.tar.gz.
File metadata
- Download URL: elegantmotd-1.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.10 Linux/6.11.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5948002de2d40af38394f202294f42c7e5cad35f195a3212790b146c101875ed
|
|
| MD5 |
7d9ee3f484d3c72faade685107a52b1f
|
|
| BLAKE2b-256 |
b521df2a4da0f6062a2ae27178b37f363138e7071eb6770de9e0e4eaeae833c4
|
File details
Details for the file elegantmotd-1.0.0-py3-none-any.whl.
File metadata
- Download URL: elegantmotd-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.10 Linux/6.11.0-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4b63a83dca9511d33766b8756b6b33e311f83f2637b67aaaebf6b4effdb9e48
|
|
| MD5 |
a93c8f2288a4415fbe4c50072588001a
|
|
| BLAKE2b-256 |
d5b8425083aa26bffd814ae8f6b6861846674e1b587e953bacd618b657c7a841
|