GTK-based status window for wayland shells.
Project description
ustatus
NOTE: Previously named pystatus, renamed due to a PyPI project naming conflict preventing me from publishing the project.
Configurable status window and/or bar for wayland compositors with support for the wlr-layer-shell protocol.
Features
- TOML configuration.
- Supports configuration of different bars, and choice of bar at startup with commandline argument.
- A variety of built-in modules:
- System tray module (StatusNotifierItem protocol), with Dbusmenu.
- Cpu monitor module, with usage graphs.
- MPRIS module.
- Battery module.
- Volume module.
- power-profiles-daemon remote module.
- Remote interface through dbus, currently allowing:
- Show/hide/toggle bar or status window.
Running without installing
The project is built using Poetry. To run, clone the project
git clone https://github.com/mbrea-c/ustatus.git
move to the cloned directory
cd ustatus
install dependencies in a local venv with
poetry install
and run ustatus with
poetry run ustatus <bar name>
User-wide installation from source
The project is built using Poetry.
To build locally, clone the project
git clone https://github.com/mbrea-c/ustatus.git
move to the cloned directory
cd ustatus
and build
poetry build
This will create two files in the dist
directory,
dist/ustatus-<version_number>.tar.gz
dist/ustatus-<version_number>-py3-none-any.whl
For a user-wide installation, run
cd dist
pip install --upgrade ustatus-<version_number>.tar.gz
Configuration
See the configuration guide for details. An example configuration file can be found in examples/ustatus.toml
Is this in an usable state?
I think so, I have used (and still use) this in my daily-driver machine for about 6 months. However, there are currently some limitations that some might consider deal breaking:
- The UI respects the system GTK theme, but it is not possible to do separate custom theming at the moment. I'm thinking of adding some form of this soon though, as GTK allows theming using CSS fairly easily.
- In my daily driver setup I use a status window anchored to the right side of the screen, so I haven't done a lot of testing with a horizontal status bar. It is possible, but there might (will) be bugs and rough edges. I'm willing to work on this if there is interest.
Project details
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
File details
Details for the file ustatus-0.1.10.tar.gz
.
File metadata
- Download URL: ustatus-0.1.10.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.8 Linux/5.19.16_1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ff6a55f5fc04870a4a16291aeeeab6de27620ce752c17166a8480f526ff8bfe |
|
MD5 | 87b206d958823d9be323a7474594ab8c |
|
BLAKE2b-256 | b056083ac0cea6f7e8db34fddde0b0b125e7c278e3614fa9be0618cd140ddcc8 |
File details
Details for the file ustatus-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: ustatus-0.1.10-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.8 Linux/5.19.16_1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71da478e5d8577f086c3e494efc3bce06674dc3a650b38d9c0a91542c3dd756b |
|
MD5 | 468a644b6b520daea36aa266f410c6c5 |
|
BLAKE2b-256 | 34ac4cd2eff4918c0b020a76f71de068b2fe689252d807d71b4100f7e5a9d2f3 |