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.9.tar.gz
.
File metadata
- Download URL: ustatus-0.1.9.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.14_1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | daddc7f809b1bc465be80e844d2303390aa20a83bc10aef58806a013c9cc231f |
|
MD5 | 77acc9e705fa93b9ddf4aeaffc5ce607 |
|
BLAKE2b-256 | f8f29026298fbaf91a1db15dfd42922efebcd885824a7191ca824cbed9f7cbcc |
File details
Details for the file ustatus-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: ustatus-0.1.9-py3-none-any.whl
- Upload date:
- Size: 36.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.8 Linux/5.19.14_1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dcb0c1ea0d844990f7379f13ea87a0a17a98df64df81b7fbb5c61500527db95 |
|
MD5 | 7c326bb29cabd574d44ce98914cdae98 |
|
BLAKE2b-256 | 7915edb3e46a7de118bcae910b7a461244d262b000027e08bd187e27f80ec393 |